aboutsummaryrefslogtreecommitdiff
path: root/weed/command/shell.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/shell.go')
-rw-r--r--weed/command/shell.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/weed/command/shell.go b/weed/command/shell.go
index 7f971c477..91aa8770a 100644
--- a/weed/command/shell.go
+++ b/weed/command/shell.go
@@ -13,9 +13,8 @@ import (
)
var (
- shellOptions shell.ShellOptions
+ shellOptions shell.ShellOptions
shellInitialFilerUrl *string
-
)
func init() {
@@ -32,13 +31,11 @@ var cmdShell = &Command{
`,
}
-
func runShell(command *Command, args []string) bool {
util.LoadConfiguration("security", false)
shellOptions.GrpcDialOption = security.LoadClientTLS(viper.Sub("grpc"), "client")
-
var filerPwdErr error
shellOptions.FilerHost, shellOptions.FilerPort, shellOptions.Directory, filerPwdErr = parseFilerUrl(*shellInitialFilerUrl)
if filerPwdErr != nil {