aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_remote_unmount.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-29 22:19:11 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-29 22:19:11 -0700
commit21f37a0a752c11a2f6c3c2b1373468ab220c565a (patch)
treec36e30770b98e1228a0b6bb5da844e56706dce1c /weed/shell/command_remote_unmount.go
parent5adfdd79823ab0576259c8b4fa173903f301bc16 (diff)
downloadseaweedfs-21f37a0a752c11a2f6c3c2b1373468ab220c565a.tar.xz
seaweedfs-21f37a0a752c11a2f6c3c2b1373468ab220c565a.zip
remove unused code
Diffstat (limited to 'weed/shell/command_remote_unmount.go')
-rw-r--r--weed/shell/command_remote_unmount.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/weed/shell/command_remote_unmount.go b/weed/shell/command_remote_unmount.go
index c2857dbbf..9b61f5cfb 100644
--- a/weed/shell/command_remote_unmount.go
+++ b/weed/shell/command_remote_unmount.go
@@ -6,7 +6,6 @@ import (
"fmt"
"github.com/chrislusf/seaweedfs/weed/filer"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"
"github.com/chrislusf/seaweedfs/weed/util"
"io"
)
@@ -78,12 +77,6 @@ func (c *commandRemoteUnmount) Do(args []string, commandEnv *CommandEnv, writer
return nil
}
-func (c *commandRemoteUnmount) findRemoteStorageConfiguration(commandEnv *CommandEnv, writer io.Writer, remote *remote_pb.RemoteStorageLocation) (conf *remote_pb.RemoteConf, err error) {
-
- return filer.ReadRemoteStorageConf(commandEnv.option.GrpcDialOption, commandEnv.option.FilerAddress, remote.Name)
-
-}
-
func (c *commandRemoteUnmount) purgeMountedData(commandEnv *CommandEnv, dir string) error {
// find existing directory, and ensure the directory is empty