aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2019-04-29 20:37:31 -0700
committerGitHub <noreply@github.com>2019-04-29 20:37:31 -0700
commitac52db3bedbba647cb4531444e16914e6d17b06a (patch)
treeeda72514de5aa891a7db569c4f8cc213ccb8f94e /weed/shell
parent82e06a780bb12adc47d6036067164c2fd02a25c4 (diff)
parent8b51c16e2c7b73a571c04cc43cba78b54841dd12 (diff)
downloadseaweedfs-ac52db3bedbba647cb4531444e16914e6d17b06a.tar.xz
seaweedfs-ac52db3bedbba647cb4531444e16914e6d17b06a.zip
Merge pull request #948 from Wine93/style
Style
Diffstat (limited to 'weed/shell')
-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{