From ab9206c38eed8b4dd2cc17ca35433d77a8e0b78f Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 2 Mar 2014 23:32:54 -0800 Subject: [PATCH] spelling error with parameter name! --- go/weed/weed_server/master_server_handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/weed/weed_server/master_server_handlers.go b/go/weed/weed_server/master_server_handlers.go index f53d2b8ed..0c710429c 100644 --- a/go/weed/weed_server/master_server_handlers.go +++ b/go/weed/weed_server/master_server_handlers.go @@ -125,7 +125,7 @@ func (ms *MasterServer) volumeGrowHandler(w http.ResponseWriter, r *http.Request if ms.topo.FreeSpace() < count*replicaPlacement.GetCopyCount() { err = errors.New("Only " + strconv.Itoa(ms.topo.FreeSpace()) + " volumes left! Not enough for " + strconv.Itoa(count*replicaPlacement.GetCopyCount())) } else { - count, err = ms.vg.GrowByCountAndType(count, r.FormValue("collection"), replicaPlacement, r.FormValue("dataCneter"), ms.topo) + count, err = ms.vg.GrowByCountAndType(count, r.FormValue("collection"), replicaPlacement, r.FormValue("dataCenter"), ms.topo) } } else { err = errors.New("parameter count is not found")