aboutsummaryrefslogtreecommitdiff
path: root/weed/command/master.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/master.go')
-rw-r--r--weed/command/master.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/master.go b/weed/command/master.go
index ac5902b60..34f467bd2 100644
--- a/weed/command/master.go
+++ b/weed/command/master.go
@@ -132,7 +132,7 @@ func checkPeers(masterIp string, masterPort int, peers string) (masterAddress st
if !hasSelf {
peerCount += 1
}
- if peerCount %2 == 0 {
+ if peerCount%2 == 0 {
glog.Fatalf("Only odd number of masters are supported!")
}
return