Fabrizio (Misto) Milo 12 years ago
parent
commit
50277df74c
1 changed files with 4 additions and 4 deletions
  1. 4 4
      etcd.go

+ 4 - 4
etcd.go

@@ -280,10 +280,10 @@ func startRaft(securityType int) {
 			// leader need to join self as a peer
 			for {
 				command := &JoinCommand{
-					Name : raftServer.Name(),
-					Hostname : hostname,
-					RaftPort : raftPort,
-					ClientPort : clientPort,
+					Name:       raftServer.Name(),
+					Hostname:   hostname,
+					RaftPort:   raftPort,
+					ClientPort: clientPort,
 				}
 				_, err := raftServer.Do(command)
 				if err == nil {