File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
bpf-prog/block-iptables/pkg/bpfprogram Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1+ //nolint:typecheck // BlockIptablesObjects is part of generated code
12package bpfprogram
23
34import (
@@ -21,7 +22,6 @@ const (
2122
2223// Program implements the Manager interface for real BPF program operations.
2324type Program struct {
24- //nolint:typecheck // BlockIptablesObjects is part of generated code
2525 objs * blockservice.BlockIptablesObjects
2626 links []link.Link
2727 attached bool
@@ -102,7 +102,6 @@ func (p *Program) Attach() error {
102102 }
103103
104104 // Load BPF objects with the host namespace inode set
105- //nolint:typecheck // LoadBlockIptables is part of generated code
106105 spec , err := blockservice .LoadBlockIptables ()
107106 if err != nil {
108107 return fmt .Errorf ("failed to load BPF spec: %w" , err )
@@ -117,7 +116,6 @@ func (p *Program) Attach() error {
117116 }
118117
119118 // Load the objects
120- //nolint:typecheck // BlockIptablesObjects is part of generated code
121119 objs := & blockservice.BlockIptablesObjects {}
122120 options := & ebpf.CollectionOptions {
123121 Maps : ebpf.MapOptions {
You can’t perform that action at this time.
0 commit comments