Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Mar 6, 2017
1 parent f784e4c commit 675b713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prog/weave-npc/main.go
Expand Up @@ -83,12 +83,12 @@ func resetIPSets(ips ipset.Interface) error {
// Remove ipsets prefixed `weave-` only

sets, err := ips.List(npc.IpsetNamePrefix)
if (err != nil) {
if err != nil {
common.Log.Errorf("Failed to retrieve list of ipsets")
return err
}

common.Log.Debugf("Got list of ipsets: %v", sets)
common.Log.Debugf("Got list of ipsets: %v", sets)

for _, s := range sets {
common.Log.Debugf("Destroying ipsets '%s'", string(s))
Expand Down

0 comments on commit 675b713

Please sign in to comment.