diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-11-24 23:13:40 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-11-24 23:13:40 -0800 |
| commit | 5f6b360eb723ef91d8bb5a556a336e3b54b8a96e (patch) | |
| tree | 605187377a9034ee25c29d5cfaf4f6ce86c7e873 | |
| parent | 2cbe79acda04ff7b70dcb02dd7684c5a3d4068ec (diff) | |
| download | seaweedfs-5f6b360eb723ef91d8bb5a556a336e3b54b8a96e.tar.xz seaweedfs-5f6b360eb723ef91d8bb5a556a336e3b54b8a96e.zip | |
adjust error message
| -rw-r--r-- | weed/shell/command_ec_encode.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_ec_encode.go b/weed/shell/command_ec_encode.go index f07cb93f9..4598b4682 100644 --- a/weed/shell/command_ec_encode.go +++ b/weed/shell/command_ec_encode.go @@ -95,7 +95,7 @@ func doEcEncode(ctx context.Context, commandEnv *CommandEnv, collection string, // mark the volume as readonly err = markVolumeReadonly(ctx, commandEnv.option.GrpcDialOption, needle.VolumeId(vid), locations) if err != nil { - return fmt.Errorf("generate ec shards for volume %d on %s: %v", vid, locations[0].Url, err) + return fmt.Errorf("mark volume %d as readonly on %s: %v", vid, locations[0].Url, err) } // generate ec shards |
