aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-04-18 15:17:27 -0700
committerChris Lu <chris.lu@gmail.com>2020-04-18 15:17:27 -0700
commit076c8bd3bcb6f76c84a8df50aff923d493a6bb9d (patch)
treec04613e01216887c2efef3452d217e621832a04b /weed/shell
parent5d346d44bdec30d632840fb30c520cc2a334e004 (diff)
downloadseaweedfs-076c8bd3bcb6f76c84a8df50aff923d493a6bb9d.tar.xz
seaweedfs-076c8bd3bcb6f76c84a8df50aff923d493a6bb9d.zip
filer master start up with default ip address instead of just localhost
Diffstat (limited to 'weed/shell')
-rw-r--r--weed/shell/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/commands.go b/weed/shell/commands.go
index cbae6c03e..96343971a 100644
--- a/weed/shell/commands.go
+++ b/weed/shell/commands.go
@@ -43,7 +43,7 @@ var (
func NewCommandEnv(options ShellOptions) *CommandEnv {
return &CommandEnv{
env: make(map[string]string),
- MasterClient: wdclient.NewMasterClient(options.GrpcDialOption, pb.AdminShellClient, 0, strings.Split(*options.Masters, ",")),
+ MasterClient: wdclient.NewMasterClient(options.GrpcDialOption, pb.AdminShellClient, "", 0, strings.Split(*options.Masters, ",")),
option: options,
}
}