aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-10-20 17:41:39 -0700
committerChris Lu <chris.lu@gmail.com>2020-10-20 17:41:39 -0700
commit6c92fa349d0050111e51ac1ec093458f8f5d4d9f (patch)
tree5e28a243e7777c7809838cd7c2a1ec71b03bb229 /weed/command/server.go
parent86528bf97340447692c2c1eba3d2d7f1f9551e42 (diff)
downloadseaweedfs-6c92fa349d0050111e51ac1ec093458f8f5d4d9f.tar.xz
seaweedfs-6c92fa349d0050111e51ac1ec093458f8f5d4d9f.zip
filer: support default rack
fix https://github.com/chrislusf/seaweedfs/issues/1546
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 80fb14600..c55d2cfee 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -159,6 +159,7 @@ func runServer(cmd *Command, args []string) bool {
masterOptions.whiteList = serverWhiteListOption
filerOptions.dataCenter = serverDataCenter
+ filerOptions.rack = serverRack
filerOptions.disableHttp = serverDisableHttp
masterOptions.disableHttp = serverDisableHttp