Merge pull request #554 from travisturner/handleGetSliceMax-proto-bug

fix bug in `handleGetSliceMax` that was causing protobuf request to r…
This commit is contained in:
Travis Turner 2017-05-16 14:08:25 -05:00 committed by GitHub
commit 6fd630f2ae

View file

@ -258,6 +258,7 @@ func (h *Handler) handleGetSliceMax(w http.ResponseWriter, r *http.Request) {
} else if _, err := w.Write(buf); err != nil {
h.logger().Printf("stream write error: %s", err)
}
return
}
json.NewEncoder(w).Encode(sliceMaxResponse{
MaxSlices: ms,