Merge remote-tracking branch 'origin/master'
Conflicts: weed-fs/src/cmd/weed/master.go
This commit is contained in:
@@ -138,6 +138,7 @@ func volumeGrowHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
w.WriteHeader(http.StatusNotAcceptable)
|
w.WriteHeader(http.StatusNotAcceptable)
|
||||||
writeJson(w, r, map[string]string{"error": err.Error()})
|
writeJson(w, r, map[string]string{"error": err.Error()})
|
||||||
} else {
|
} else {
|
||||||
|
w.WriteHeader(http.StatusNotAcceptable)
|
||||||
writeJson(w, r, map[string]interface{}{"count": count})
|
writeJson(w, r, map[string]interface{}{"count": count})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user