mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Merge pull request #1102 from codysoyland/cluster-resize-validate-set-coordinator
Fix node id validation on set-coordinator
This commit is contained in:
commit
b08d1ce3d3
1 changed files with 1 additions and 1 deletions
|
|
@ -1967,7 +1967,7 @@ func (h *Handler) handlePostClusterResizeSetCoordinator(w http.ResponseWriter, r
|
|||
|
||||
newNode := h.Cluster.nodeByID(req.ID)
|
||||
if newNode == nil {
|
||||
http.Error(w, err.Error(), http.StatusBadRequest)
|
||||
http.Error(w, "Node with provided ID does not exist", http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue