aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_unmount.go
diff options
context:
space:
mode:
authorWine93 <wine93.info@gmail.com>2019-04-30 03:22:19 +0000
committerWine93 <wine93.info@gmail.com>2019-04-30 03:22:19 +0000
commit32f93fb09e76cc89c14b33bb049f8427f99baa9e (patch)
treeb404567dcb1812b49d46c3cc56bedbb7512fcc23 /weed/shell/command_volume_unmount.go
parent82e06a780bb12adc47d6036067164c2fd02a25c4 (diff)
downloadseaweedfs-32f93fb09e76cc89c14b33bb049f8427f99baa9e.tar.xz
seaweedfs-32f93fb09e76cc89c14b33bb049f8427f99baa9e.zip
style: go fmt for all
Diffstat (limited to 'weed/shell/command_volume_unmount.go')
-rw-r--r--weed/shell/command_volume_unmount.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/shell/command_volume_unmount.go b/weed/shell/command_volume_unmount.go
index 5fa4084dc..ce9f666af 100644
--- a/weed/shell/command_volume_unmount.go
+++ b/weed/shell/command_volume_unmount.go
@@ -50,7 +50,6 @@ func (c *commandVolumeUnmount) Do(args []string, commandEnv *commandEnv, writer
}
-
func unmountVolume(ctx context.Context, grpcDialOption grpc.DialOption, volumeId needle.VolumeId, sourceVolumeServer string) (err error) {
return operation.WithVolumeServerClient(sourceVolumeServer, grpcDialOption, func(volumeServerClient volume_server_pb.VolumeServerClient) error {
_, unmountErr := volumeServerClient.VolumeUnmount(ctx, &volume_server_pb.VolumeUnmountRequest{