diff options
| author | chrislu <chris.lu@gmail.com> | 2022-03-17 16:54:30 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-03-17 16:54:30 -0700 |
| commit | 2824940ecf62073e00a4d7e2a069b693082b31cf (patch) | |
| tree | e99d9fbbc2df9460529449e4c6430d4880633ce2 /weed/command/master.go | |
| parent | f247cab5cd47b7f54a3267979508160ebdd933ce (diff) | |
| parent | 01c48da6ce0ecb685c29a8e734f962bfb0cf8e97 (diff) | |
| download | seaweedfs-2824940ecf62073e00a4d7e2a069b693082b31cf.tar.xz seaweedfs-2824940ecf62073e00a4d7e2a069b693082b31cf.zip | |
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
Diffstat (limited to 'weed/command/master.go')
| -rw-r--r-- | weed/command/master.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/master.go b/weed/command/master.go index a9109bdb8..9e45c5037 100644 --- a/weed/command/master.go +++ b/weed/command/master.go @@ -127,7 +127,7 @@ func startMaster(masterOption MasterOptions, masterWhiteList []string) { *masterOption.portGrpc = 10000 + *masterOption.port } if *masterOption.ipBind == "" { - *masterOption.ipBind = "localhost" + *masterOption.ipBind = *masterOption.ip } myMasterAddress, peers := checkPeers(*masterOption.ip, *masterOption.port, *masterOption.portGrpc, *masterOption.peers) |
