Browse Source

Revert "change wriable to writeable"

This reverts commit 626b896448.
pull/33/head
bmcquee 10 years ago
parent
commit
02ae8b98a5
  1. 2
      go/weed/weed_server/master_server_handlers_admin.go

2
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
}

Loading…
Cancel
Save