mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-22 05:54:24 +02:00
error message change
This commit is contained in:
1 parent
7621b9b8a9
commit
946aa6d1e7
1 file changed
+1
-1
@@ -150,7 +150,7 @@ func (ms *MasterServer) volumeGrowHandler(w http.ResponseWriter, r *http.Request
|
||||
}
|
||||
if err != nil {
|
||||
w.WriteHeader(http.StatusNotAcceptable)
|
||||
writeJsonQuiet(w, r, map[string]string{"error": "parameter replication " + err.Error()})
|
||||
writeJsonQuiet(w, r, map[string]string{"error": err.Error()})
|
||||
} else {
|
||||
w.WriteHeader(http.StatusNotAcceptable)
|
||||
writeJsonQuiet(w, r, map[string]interface{}{"count": count})
|
||||
|
||||
Reference in new issue
Block a user