Destroy ipsets prefixed weave- only (issue #2751)

This commit is contained in:
Stephan Austermühle authored and Marc Carré committed 2017-03-14 17:56:59 +00:00
1 parent 56fd45f7ea
commit dc2925263c
4 files changed
+59 -16

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ func newSelectorSpec(json *unversioned.LabelSelector, nsName string, ipsetType i
// We prefix the selector string with the namespace name when generating
// the shortname because you can specify the same selector in multiple
// namespaces - we need those to map to distinct ipsets
ipsetName: ipset.Name("weave-" + shortName(nsName+":"+key)),
ipsetName: ipset.Name(IpsetNamePrefix + shortName(nsName+":"+key)),
ipsetType: ipsetType}, nil
}