mirror of
https://github.com/vee1e/KubeArmor.git
synced 2026-09-01 10:18:29 +00:00
chore(presets): remove duplicate go:generate in filelessexec (#2793)
filelessexec/preset.go had the same //go:generate bpf2go directive twice, so `go generate` ran code generation twice for no benefit. Keep a single directive, matching the other preset packages. Signed-off-by: lakshit verma <vermalucky2004@gmail.com>
This commit is contained in:
parent
580dcb9e62
commit
510cee310a
1 changed files with 0 additions and 2 deletions
|
|
@ -28,8 +28,6 @@ import (
|
|||
tp "github.com/kubearmor/KubeArmor/KubeArmor/types"
|
||||
)
|
||||
|
||||
//go:generate go run github.com/cilium/ebpf/cmd/bpf2go -cc clang filelessexec ../../BPF/filelessexec.bpf.c -type event -no-global-types -- -I/usr/include/ -O2 -g -Wno-missing-declarations
|
||||
|
||||
var (
|
||||
_ base.PresetInterface = (*Preset)(nil)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue