filer master start up with default ip address instead of just localhost

This commit is contained in:
Chris Lu committed 2020-04-18 15:17:27 -07:00
1 parent 5d346d44bd
commit 076c8bd3bc
16 files changed
+229 -153

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ var cmdServer = &Command{
}
var (
serverIp = cmdServer.Flag.String("ip", "localhost", "ip or server name")
serverIp = cmdServer.Flag.String("ip", util.DetectedHostAddress(), "ip or server name")
serverBindIp = cmdServer.Flag.String("ip.bind", "0.0.0.0", "ip address to bind to")
serverTimeout = cmdServer.Flag.Int("idleTimeout", 30, "connection idle seconds")
serverDataCenter = cmdServer.Flag.String("dataCenter", "", "current volume server's data center name")