weed server: mkdir first, and set the master ip address

fix https://github.com/chrislusf/seaweedfs/issues/885
This commit is contained in:
Chris Lu
2019-03-15 00:32:42 -07:00
parent 023f447d56
commit a4e8aa98a0
2 changed files with 3 additions and 1 deletions

View File

@@ -115,6 +115,7 @@ func runServer(cmd *Command, args []string) bool {
}
master := *serverIp + ":" + strconv.Itoa(*masterPort)
filerOptions.masters = &master
filerOptions.ip = serverIp
serverOptions.v.ip = serverIp
serverOptions.v.bindIp = serverBindIp