mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-22 22:53:33 +08:00
weed server: mkdir first, and set the master ip address
fix https://github.com/chrislusf/seaweedfs/issues/885
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user