Fix PUT /config response and log errors.

This commit is contained in:
Ben Johnson
2014-03-06 13:35:46 -07:00
parent fe4dee03ab
commit 3cd83c61c4
2 changed files with 3 additions and 1 deletions

View File

@@ -223,6 +223,8 @@ func (ps *PeerServer) setClusterConfigHttpHandler(w http.ResponseWriter, req *ht
log.Debugf("[recv] Update Cluster Config Request")
ps.server.Dispatch(c, w, req)
json.NewEncoder(w).Encode(&ps.clusterConfig)
}
// Response to the name request