Browse Source

Merge pull request #516 from augustoroman/patch-1

fix(server compilation): compile bug in peer_server_handlers.go
Xiang Li 12 years ago
parent
commit
93a129e55a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/peer_server_handlers.go

+ 1 - 1
server/peer_server_handlers.go

@@ -71,7 +71,7 @@ func (ps *PeerServer) AppendEntriesHttpHandler(w http.ResponseWriter, req *http.
 		return
 	}
 
-	if !resp.Success {
+	if !resp.Success() {
 		log.Debugf("[Append Entry] Step back")
 	}