gofmt
This commit is contained in:
1 parent
5f30846092
commit
623abeef4c
1 file changed
+2
-2
@@ -83,12 +83,12 @@ func resetIPSets(ips ipset.Interface) error {
|
|||||||
// Remove ipsets prefixed `weave-` only
|
// Remove ipsets prefixed `weave-` only
|
||||||
|
|
||||||
sets, err := ips.List(npc.IpsetNamePrefix)
|
sets, err := ips.List(npc.IpsetNamePrefix)
|
||||||
if (err != nil) {
|
if err != nil {
|
||||||
common.Log.Errorf("Failed to retrieve list of ipsets")
|
common.Log.Errorf("Failed to retrieve list of ipsets")
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
common.Log.Debugf("Got list of ipsets: %v", sets)
|
common.Log.Debugf("Got list of ipsets: %v", sets)
|
||||||
|
|
||||||
for _, s := range sets {
|
for _, s := range sets {
|
||||||
common.Log.Debugf("Destroying ipsets '%s'", string(s))
|
common.Log.Debugf("Destroying ipsets '%s'", string(s))
|
||||||
|
|||||||
Reference in new issue
Block a user