fix func name HasWriableVolume

This commit is contained in:
bmcquee
2014-10-19 08:51:07 -07:00
parent 92653d2c41
commit bff7b71389
2 changed files with 3 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ func (t *Topology) NextVolumeId() storage.VolumeId {
return next
}
func (t *Topology) HasWriableVolume(option *VolumeGrowOption) bool {
func (t *Topology) HasWriteableVolume(option *VolumeGrowOption) bool {
vl := t.GetVolumeLayout(option.Collection, option.ReplicaPlacement, option.Ttl)
return vl.GetActiveVolumeCount(option) > 0
}