This commit is contained in:
Fabrizio (Misto) Milo 2013-08-06 17:46:21 -07:00
parent 742589aa72
commit a15b4bb687

View File

@ -599,10 +599,10 @@ func joinCluster(s *raft.Server, serverName string) error {
var b bytes.Buffer
command := &JoinCommand{
Name : s.Name(),
Hostname : info.Hostname,
RaftPort : info.RaftPort,
ClientPort : info.ClientPort,
Name: s.Name(),
Hostname: info.Hostname,
RaftPort: info.RaftPort,
ClientPort: info.ClientPort,
}
json.NewEncoder(&b).Encode(command)