File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
bpf-prog/block-iptables/pkg/bpfprogram Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ const (
2121
2222// Program implements the Manager interface for real BPF program operations.
2323type Program struct {
24+ //nolint:typecheck // BlockIptablesObjects is part of generated code
2425 objs * blockservice.BlockIptablesObjects
2526 links []link.Link
2627 attached bool
@@ -101,6 +102,7 @@ func (p *Program) Attach() error {
101102 }
102103
103104 // Load BPF objects with the host namespace inode set
105+ //nolint:typecheck // LoadBlockIptables is part of generated code
104106 spec , err := blockservice .LoadBlockIptables ()
105107 if err != nil {
106108 return fmt .Errorf ("failed to load BPF spec: %w" , err )
@@ -115,6 +117,7 @@ func (p *Program) Attach() error {
115117 }
116118
117119 // Load the objects
120+ //nolint:typecheck // BlockIptablesObjects is part of generated code
118121 objs := & blockservice.BlockIptablesObjects {}
119122 options := & ebpf.CollectionOptions {
120123 Maps : ebpf.MapOptions {
You can’t perform that action at this time.
0 commit comments