From 99c4e50d3d85608337fe675d62741bcb99942842 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 28 Nov 2020 00:14:11 -0800 Subject: [PATCH] minor --- weed/shell/command_ec_decode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/shell/command_ec_decode.go b/weed/shell/command_ec_decode.go index 5f03df58c..da7c8844f 100644 --- a/weed/shell/command_ec_decode.go +++ b/weed/shell/command_ec_decode.go @@ -85,7 +85,7 @@ func doEcDecode(commandEnv *CommandEnv, topoInfo *master_pb.TopologyInfo, collec } // generate a normal volume - err = generateNormalVolume(commandEnv.option.GrpcDialOption, needle.VolumeId(vid), collection, targetNodeLocation) + err = generateNormalVolume(commandEnv.option.GrpcDialOption, vid, collection, targetNodeLocation) if err != nil { return fmt.Errorf("generate normal volume %d on %s: %v", vid, targetNodeLocation, err) }