aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_ec_encode.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-06-27 12:18:59 -0700
committerChris Lu <chris.lu@gmail.com>2019-06-27 12:18:59 -0700
commita3d1296ed9c914dc2ffef87ba7568edfafc6efac (patch)
tree4f7731a1fd11191e4fae5ca14fd5d7b9ee079709 /weed/shell/command_ec_encode.go
parentec75b2d761e9b38530674a3d0a1e17adc154cc1a (diff)
downloadseaweedfs-a3d1296ed9c914dc2ffef87ba7568edfafc6efac.tar.xz
seaweedfs-a3d1296ed9c914dc2ffef87ba7568edfafc6efac.zip
go fmt
Diffstat (limited to 'weed/shell/command_ec_encode.go')
-rw-r--r--weed/shell/command_ec_encode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_ec_encode.go b/weed/shell/command_ec_encode.go
index 3ae6b9101..8ad0d51c8 100644
--- a/weed/shell/command_ec_encode.go
+++ b/weed/shell/command_ec_encode.go
@@ -119,7 +119,7 @@ func markVolumeReadonly(ctx context.Context, grpcDialOption grpc.DialOption, vol
err := operation.WithVolumeServerClient(location.Url, grpcDialOption, func(volumeServerClient volume_server_pb.VolumeServerClient) error {
_, markErr := volumeServerClient.VolumeMarkReadonly(ctx, &volume_server_pb.VolumeMarkReadonlyRequest{
- VolumeId: uint32(volumeId),
+ VolumeId: uint32(volumeId),
})
return markErr
})