diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-06-10 21:33:32 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-06-10 21:33:32 -0700 |
| commit | 57092d69ac1f72bd90f62811ac2542b054371fdc (patch) | |
| tree | afd473d47d2809987f8dbb16c2f6b9c7d2d7d0dd /weed/shell/command_ec_balance.go | |
| parent | f9d8bd51ad8cf4597559c3e3e327bbb3432719b7 (diff) | |
| download | seaweedfs-57092d69ac1f72bd90f62811ac2542b054371fdc.tar.xz seaweedfs-57092d69ac1f72bd90f62811ac2542b054371fdc.zip | |
go fmt
Diffstat (limited to 'weed/shell/command_ec_balance.go')
| -rw-r--r-- | weed/shell/command_ec_balance.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_ec_balance.go b/weed/shell/command_ec_balance.go index 2f292f11d..47ae7bad3 100644 --- a/weed/shell/command_ec_balance.go +++ b/weed/shell/command_ec_balance.go @@ -466,7 +466,7 @@ func pickOneEcNodeAndMoveOneShard(ctx context.Context, commandEnv *CommandEnv, e return nil } -func pickNEcShardsToMoveFrom(ecNodes []*EcNode, vid needle.VolumeId, n int) (map[erasure_coding.ShardId]*EcNode) { +func pickNEcShardsToMoveFrom(ecNodes []*EcNode, vid needle.VolumeId, n int) map[erasure_coding.ShardId]*EcNode { picked := make(map[erasure_coding.ShardId]*EcNode) var candidateEcNodes []*CandidateEcNode for _, ecNode := range ecNodes { |
