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:
Lakshit Verma 2026-07-24 10:10:00 +05:30 committed by GitHub
parent 580dcb9e62
commit 510cee310a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
)