npc: Replace rulesType by policyType

This commit is contained in:
Martynas Pumputis authored and Martynas Pumputis committed 2018-07-24 10:06:23 +02:00
1 parent 5afcd0595d
commit 497a9c7fd0
3 files changed
+24 -29

No files matched your search

+1 -1
View File
@@ -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, "")