npc: Replace rulesType by policyType
This commit is contained in:
1 parent
5afcd0595d
commit
497a9c7fd0
3 files changed
+24
-29
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ func TestRegressionHandleNil3095(t *testing.T) {
|
||||
// Test for handling nil values
|
||||
// https://github.com/weaveworks/weave/issues/3095
|
||||
|
||||
rs := newRuleSpec(ingress, nil, nil, nil, nil)
|
||||
rs := newRuleSpec(ingressPolicy, nil, nil, nil, nil)
|
||||
|
||||
require.NotEqual(t, rs.key, "")
|
||||
|
||||
|
||||
Reference in new issue
Block a user