Skip to content

Commit

Permalink
style: resolve fmt issues
Browse files Browse the repository at this point in the history
Signed-off-by: spencercjh <[email protected]>
  • Loading branch information
spencercjh committed Dec 20, 2024
1 parent 55bb17d commit fcc71d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bpf/loader/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func filterFunctions(coll *ebpf.CollectionSpec, kernelVersion compatible.KernelV
}

needsDelete := make([]string, 0)
for cProgName, _ := range coll.Programs {
for cProgName := range coll.Programs {
if slices.Index(finalCProgNames, cProgName) == -1 {
needsDelete = append(needsDelete, cProgName)
}
Expand Down

0 comments on commit fcc71d0

Please sign in to comment.