missing comments from merge

This commit is contained in:
Michael Baird 2017-04-24 22:38:12 -05:00
parent a543ba21bb
commit 0c9f652ffb
2 changed files with 3 additions and 1 deletions

View file

@ -116,6 +116,7 @@ func (h *Handler) handleGetSchema(w http.ResponseWriter, r *http.Request) {
}
}
// handleGetStatus handles GET /status requests.
func (h *Handler) handleGetStatus(w http.ResponseWriter, r *http.Request) {
status, err := h.StatusHandler.ClusterStatus()
if err != nil {
@ -125,7 +126,7 @@ func (h *Handler) handleGetStatus(w http.ResponseWriter, r *http.Request) {
if err := json.NewEncoder(w).Encode(getStatusResponse{
Status: status,
}); err != nil {
h.logger().Printf("Node State Error: %s", err)
h.logger().Printf("write status response error: %s", err)
}
}

View file

@ -242,6 +242,7 @@ func (s *Server) monitorMaxSlices() {
}
}
// ReceiveMessage represents an implementation of BroadcastHandler.
func (s *Server) ReceiveMessage(pb proto.Message) error {
switch obj := pb.(type) {
case *internal.CreateSliceMessage: