diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-12-25 09:53:13 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-12-25 09:53:13 -0800 |
| commit | d960b3474af6956ffcf59e782789001169531db8 (patch) | |
| tree | c2b00aeaad0099e2c328bafdcf9f86628918a57a /weed/shell/command_ec_decode.go | |
| parent | 3ebeae0c0ba94659bb39e055ae0278db5bb825f1 (diff) | |
| download | seaweedfs-d960b3474af6956ffcf59e782789001169531db8.tar.xz seaweedfs-d960b3474af6956ffcf59e782789001169531db8.zip | |
tier storage: support downloading the remote dat files
Diffstat (limited to 'weed/shell/command_ec_decode.go')
| -rw-r--r-- | weed/shell/command_ec_decode.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/shell/command_ec_decode.go b/weed/shell/command_ec_decode.go index b49ab2c58..8ca035a8c 100644 --- a/weed/shell/command_ec_decode.go +++ b/weed/shell/command_ec_decode.go @@ -47,7 +47,7 @@ func (c *commandEcDecode) Do(args []string, commandEnv *CommandEnv, writer io.Wr vid := needle.VolumeId(*volumeId) // collect topology information - topologyInfo, err := collectTopologyInfoForEcDecode(ctx, commandEnv) + topologyInfo, err := collectTopologyInfo(ctx, commandEnv) if err != nil { return err } @@ -203,7 +203,7 @@ func collectEcShards(ctx context.Context, commandEnv *CommandEnv, nodeToEcIndexB } -func collectTopologyInfoForEcDecode(ctx context.Context, commandEnv *CommandEnv) (topoInfo *master_pb.TopologyInfo, err error) { +func collectTopologyInfo(ctx context.Context, commandEnv *CommandEnv) (topoInfo *master_pb.TopologyInfo, err error) { var resp *master_pb.VolumeListResponse err = commandEnv.MasterClient.WithClient(ctx, func(client master_pb.SeaweedClient) error { |
