Skip to content

Commit

Permalink
better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pimlu committed Jan 1, 2025
1 parent f63a52e commit a9daf3f
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 @@ -39,7 +39,7 @@ func addSystemProbePlatformSpecificEntries(fb flaretypes.FlareBuilder) {
}
}

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

func addSecurityAgentPlatformSpecificEntries(fb flaretypes.FlareBuilder) {
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 @@ -15,7 +15,7 @@ func addSystemProbePlatformSpecificEntries(_ flaretypes.FlareBuilder) {}

func addSecurityAgentPlatformSpecificEntries(_ flaretypes.FlareBuilder) {}

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

func getLinuxKernelSymbols(_ flaretypes.FlareBuilder) error {
Expand Down

0 comments on commit a9daf3f

Please sign in to comment.