filer add data center option

This commit is contained in:
Chris Lu committed 2018-07-09 02:22:48 -07:00
1 parent d0982cafa7
commit 50d351944f
4 files changed
+7

No files matched your search

+2
View File
@@ -110,6 +110,8 @@ func runServer(cmd *Command, args []string) bool {
master := *serverIp + ":" + strconv.Itoa(*masterPort)
filerOptions.ip = serverIp
filerOptions.dataCenter = serverDataCenter
if *filerOptions.defaultReplicaPlacement == "" {
*filerOptions.defaultReplicaPlacement = *masterDefaultReplicaPlacement
}