This commit is contained in:
Fabrizio (Misto) Milo 2013-08-06 17:19:49 -07:00
parent 11a7cd0bc2
commit 50277df74c

View File

@ -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 {