diff options
| author | Chris Lu <chris.lu@gmail.com> | 2014-10-25 18:10:32 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2014-10-25 18:10:32 -0700 |
| commit | 30bcda7136f847b59ac6e6610a40829dc10ec8cd (patch) | |
| tree | 04a91da085ccc50a1bc0874518ed3be47edc7cb5 /go/topology | |
| parent | b85eb293feda0c4b2c322a3d07d17df566df02a4 (diff) | |
| download | seaweedfs-30bcda7136f847b59ac6e6610a40829dc10ec8cd.tar.xz seaweedfs-30bcda7136f847b59ac6e6610a40829dc10ec8cd.zip | |
fix typo
Diffstat (limited to 'go/topology')
| -rw-r--r-- | go/topology/topology.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/topology/topology.go b/go/topology/topology.go index c90e8de0b..a81829bb6 100644 --- a/go/topology/topology.go +++ b/go/topology/topology.go @@ -109,7 +109,7 @@ func (t *Topology) NextVolumeId() storage.VolumeId { return next } -func (t *Topology) HasWriableVolume(option *VolumeGrowOption) bool { +func (t *Topology) hasWritableVolume(option *VolumeGrowOption) bool { vl := t.GetVolumeLayout(option.Collection, option.ReplicaPlacement, option.Ttl) return vl.GetActiveVolumeCount(option) > 0 } |
