aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-03-01 22:13:47 -0800
committerChris Lu <chris.lu@gmail.com>2020-03-01 22:13:47 -0800
commit6a8484b4ae2615c2cc88e3a66d03aead3966ba7c (patch)
tree9cd878b35c425f24f22ac5246ed1d0046533dac6 /weed/command/filer.go
parent0ca68a2a6d87786dbebe87fbd4b786b3318c1dcb (diff)
downloadseaweedfs-6a8484b4ae2615c2cc88e3a66d03aead3966ba7c.tar.xz
seaweedfs-6a8484b4ae2615c2cc88e3a66d03aead3966ba7c.zip
master able to list all master clients by type
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index ea8392fac..31e65acea 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -109,7 +109,7 @@ func (fo *FilerOptions) startFiler() {
DataCenter: *fo.dataCenter,
DefaultLevelDbDir: defaultLevelDbDirectory,
DisableHttp: *fo.disableHttp,
- Port: *fo.port,
+ Port: uint32(*fo.port),
})
if nfs_err != nil {
glog.Fatalf("Filer startup error: %v", nfs_err)