We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5273f4 commit 6db21deCopy full SHA for 6db21de
pkg/policy/fuzz_test.go
@@ -13,6 +13,7 @@ import (
13
"github.com/cilium/cilium/pkg/labels"
14
"github.com/cilium/cilium/pkg/policy/api"
15
"github.com/cilium/cilium/pkg/policy/trafficdirection"
16
+ "github.com/cilium/cilium/pkg/policy/types"
17
"github.com/cilium/cilium/pkg/u8proto"
18
)
19
@@ -45,7 +46,7 @@ func FuzzDenyPreferredInsert(f *testing.F) {
45
46
f.Fuzz(func(t *testing.T, data []byte) {
47
keys := newMapState()
48
key := Key{}
- entry := NewMapStateEntry(AllowEntry, nil)
49
+ entry := NewMapStateEntry(types.AllowEntry(), nil)
50
ff := fuzz.NewConsumer(data)
51
ff.GenerateStruct(&key)
52
ff.GenerateStruct(&entry)
0 commit comments