From 02ae8b98a579dda3dd22d97a48a2890aec84cb62 Mon Sep 17 00:00:00 2001 From: bmcquee Date: Sun, 19 Oct 2014 23:07:58 -0700 Subject: [PATCH] Revert "change wriable to writeable" This reverts commit 626b896448473b3ce7f2ec40b644c2bfd0e3c714. --- go/weed/weed_server/master_server_handlers_admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/weed/weed_server/master_server_handlers_admin.go b/go/weed/weed_server/master_server_handlers_admin.go index 17a09dac7..c9a8020c2 100644 --- a/go/weed/weed_server/master_server_handlers_admin.go +++ b/go/weed/weed_server/master_server_handlers_admin.go @@ -143,7 +143,7 @@ func (ms *MasterServer) deleteFromMasterServerHandler(w http.ResponseWriter, r * } } -func (ms *MasterServer) hasWriteableVolume(option *topology.VolumeGrowOption) bool { +func (ms *MasterServer) hasWriableVolume(option *topology.VolumeGrowOption) bool { vl := ms.Topo.GetVolumeLayout(option.Collection, option.ReplicaPlacement, option.Ttl) return vl.GetActiveVolumeCount(option) > 0 }