aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_move.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-14 02:55:44 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-14 02:55:44 -0700
commit0db251799457849ff9d9e4839cb3efb438c93e14 (patch)
tree58e9ea5955ede4f2437ae1358e560233a920323f /weed/shell/command_volume_move.go
parent7937db52e1a6b8be0e04da0b2ed9d62284fa2698 (diff)
downloadseaweedfs-0db251799457849ff9d9e4839cb3efb438c93e14.tar.xz
seaweedfs-0db251799457849ff9d9e4839cb3efb438c93e14.zip
go fmt
Diffstat (limited to 'weed/shell/command_volume_move.go')
-rw-r--r--weed/shell/command_volume_move.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_move.go b/weed/shell/command_volume_move.go
index db212fe3f..3dcf41354 100644
--- a/weed/shell/command_volume_move.go
+++ b/weed/shell/command_volume_move.go
@@ -195,7 +195,7 @@ func markVolumeWritable(grpcDialOption grpc.DialOption, volumeId needle.VolumeId
func markVolumeReplicasWritable(grpcDialOption grpc.DialOption, volumeId needle.VolumeId, locations []wdclient.Location, writable bool) error {
for _, location := range locations {
fmt.Printf("markVolumeReadonly %d on %s ...\n", volumeId, location.Url)
- if err:= markVolumeWritable(grpcDialOption, volumeId, location.Url, writable); err != nil {
+ if err := markVolumeWritable(grpcDialOption, volumeId, location.Url, writable); err != nil {
return err
}
}