diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-06-04 22:04:10 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-06-04 22:04:10 -0700 |
| commit | ca8a2bb5345aec1d15bf087d66028292d567de87 (patch) | |
| tree | 2b46d3db145ec40471c1d7ed01314860510406c4 /weed/topology | |
| parent | 2215e81be70e4687b8ef775911e30943cc743a13 (diff) | |
| download | seaweedfs-ca8a2bb5345aec1d15bf087d66028292d567de87.tar.xz seaweedfs-ca8a2bb5345aec1d15bf087d66028292d567de87.zip | |
go fmt
Diffstat (limited to 'weed/topology')
| -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 c885c90a6..93b39bb5d 100644 --- a/weed/topology/topology_ec.go +++ b/weed/topology/topology_ec.go @@ -139,7 +139,7 @@ func (t *Topology) ListEcServersByCollection(collection string) (dataNodes []str dateNodeMap := make(map[string]bool) for _, ecVolumeLocation := range t.ecShardMap { if ecVolumeLocation.Collection == collection { - for _, locations := range ecVolumeLocation.Locations{ + for _, locations := range ecVolumeLocation.Locations { for _, loc := range locations { dateNodeMap[string(loc.Id())] = true } |
