aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
diff options
context:
space:
mode:
authorLei Liu <liul.stone@gmail.com>2019-11-27 22:57:14 +0800
committerLei Liu <liul.stone@gmail.com>2019-11-27 23:08:51 +0800
commit1ba3456ac260abd8a29b9fdb63fd361e055dbf38 (patch)
tree32746486a904bbf29b766e29b11994fb9786504a /weed/shell
parent4c87b222f14cccd514045753178b182705a6c213 (diff)
downloadseaweedfs-1ba3456ac260abd8a29b9fdb63fd361e055dbf38.tar.xz
seaweedfs-1ba3456ac260abd8a29b9fdb63fd361e055dbf38.zip
go fmt
Signed-off-by: Lei Liu <liul.stone@gmail.com>
Diffstat (limited to 'weed/shell')
-rw-r--r--weed/shell/command_volume_tier.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/weed/shell/command_volume_tier.go b/weed/shell/command_volume_tier.go
index 9dda37bd4..177d3f30d 100644
--- a/weed/shell/command_volume_tier.go
+++ b/weed/shell/command_volume_tier.go
@@ -82,11 +82,11 @@ func doVolumeTier(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("mark volume %d as readonly on %s: %v", vid, locations[0].Url, err)
- }
- */
+ err = markVolumeReadonly(ctx, commandEnv.option.GrpcDialOption, needle.VolumeId(vid), locations)
+ if err != nil {
+ return fmt.Errorf("mark volume %d as readonly on %s: %v", vid, locations[0].Url, err)
+ }
+ */
// copy the .dat file to remote tier
err = copyDatToRemoteTier(ctx, commandEnv.option.GrpcDialOption, needle.VolumeId(vid), collection, locations[0].Url, dest)