Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pimlu committed Jan 1, 2025
1 parent a9daf3f commit f1ca4a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/flare/archive_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func addSystemProbePlatformSpecificEntries(fb flaretypes.FlareBuilder) {
}

// only used in tests when running on linux
var linuxKernelSymbols = getLinuxKernelSymbols //nolint:unused
var linuxKernelSymbols = getLinuxKernelSymbols

func addSecurityAgentPlatformSpecificEntries(fb flaretypes.FlareBuilder) {
linuxKernelSymbols(fb) //nolint:errcheck
Expand Down
2 changes: 1 addition & 1 deletion pkg/flare/archive_nolinux.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ func addSecurityAgentPlatformSpecificEntries(_ flaretypes.FlareBuilder) {}
// only used in tests when running on linux
var linuxKernelSymbols = getLinuxKernelSymbols //nolint:unused

func getLinuxKernelSymbols(_ flaretypes.FlareBuilder) error {
func getLinuxKernelSymbols(_ flaretypes.FlareBuilder) error { //nolint:unused
return nil
}

0 comments on commit f1ca4a7

Please sign in to comment.