diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-04-18 15:17:27 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-04-18 15:17:27 -0700 |
| commit | 076c8bd3bcb6f76c84a8df50aff923d493a6bb9d (patch) | |
| tree | c04613e01216887c2efef3452d217e621832a04b /weed/shell/commands.go | |
| parent | 5d346d44bdec30d632840fb30c520cc2a334e004 (diff) | |
| download | seaweedfs-076c8bd3bcb6f76c84a8df50aff923d493a6bb9d.tar.xz seaweedfs-076c8bd3bcb6f76c84a8df50aff923d493a6bb9d.zip | |
filer master start up with default ip address instead of just localhost
Diffstat (limited to 'weed/shell/commands.go')
| -rw-r--r-- | weed/shell/commands.go | 2 |
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, } } |
