diff options
Diffstat (limited to 'weed/topology/topology_ec.go')
| -rw-r--r-- | weed/topology/topology_ec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/topology/topology_ec.go b/weed/topology/topology_ec.go index 63cd3ce35..1ead27a81 100644 --- a/weed/topology/topology_ec.go +++ b/weed/topology/topology_ec.go @@ -123,7 +123,7 @@ func (t *Topology) UnRegisterEcShards(ecShardInfos *erasure_coding.EcVolumeInfo, } } -func (t *Topology) LookupEcShards(vid needle.VolumeId)(locations *EcShardLocations, found bool) { +func (t *Topology) LookupEcShards(vid needle.VolumeId) (locations *EcShardLocations, found bool) { t.ecShardMapLock.RLock() defer t.ecShardMapLock.RUnlock() |
