aboutsummaryrefslogtreecommitdiff
path: root/weed/command/shell.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-04 12:30:18 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-04 12:30:18 -0700
commitd84c31169922d395074b1b256d05aa638462df50 (patch)
treea8e35fc46606f2f00b66f3413b26c1c8e7b806c1 /weed/command/shell.go
parentf6a9ad8001c439e5751fa5488fe6106b185ba8eb (diff)
downloadseaweedfs-d84c31169922d395074b1b256d05aa638462df50.tar.xz
seaweedfs-d84c31169922d395074b1b256d05aa638462df50.zip
refactoring
Diffstat (limited to 'weed/command/shell.go')
-rw-r--r--weed/command/shell.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/shell.go b/weed/command/shell.go
index c9976e809..4a9f4b027 100644
--- a/weed/command/shell.go
+++ b/weed/command/shell.go
@@ -55,6 +55,7 @@ func runShell(command *Command, args []string) bool {
var err error
shellOptions.FilerHost, shellOptions.FilerPort, err = util.ParseHostPort(*shellInitialFiler)
+ shellOptions.FilerAddress = *shellInitialFiler
if err != nil {
fmt.Printf("failed to parse filer %s: %v\n", *shellInitialFiler, err)
return false