release-0.4
Ben Johnson 2013-10-13 21:37:45 -06:00
parent 0e49c49dce
commit dc59bd8d77
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ func (r *Registry) PeerURLs(leaderName, selfName string) []string {
// Removes a node from the cache.
func (r *Registry) Invalidate(name string) {
delete(r.nodes, name)
delete(r.nodes, name)
}
// Loads the given node by name from the store into the cache.

View File

@ -59,7 +59,7 @@ func (c *RemoveCommand) Apply(server *raft.Server) (interface{}, error) {
log.Debugf("ignore previous remove command.")
}
}
b := make([]byte, 8)
binary.PutUvarint(b, server.CommitIndex())