fix a comment

pull/144/head
John Shahid 2013-12-12 10:22:59 -05:00
parent f03bde9370
commit c522101f9a
1 changed files with 1 additions and 2 deletions

View File

@ -214,7 +214,6 @@ func (s *RaftServer) startRaft(potentialLeaders []string, retryUntilJoin bool) {
}
}
// couldn't join a leader so we must be the first one up
if joined {
break
} else if retryUntilJoin {
@ -223,7 +222,7 @@ func (s *RaftServer) startRaft(potentialLeaders []string, retryUntilJoin bool) {
continue
}
// if we shouldn't retry and we can't reach any server, start a new cluster
// couldn't join a leader so we must be the first one up
log.Warn("Couldn't contact a leader so initializing new cluster for server on port %d", s.port)
name := s.raftServer.Name()