aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-12 17:54:34 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-12 17:54:34 -0700
commit5469019852cf1399b64683cbcc54f4c077377afb (patch)
tree81f297317e8e59970e25f70dc2a980de607483a3 /weed/command
parent7667d26ebf267bb0631f26bdfa05287b7defbc3a (diff)
downloadseaweedfs-5469019852cf1399b64683cbcc54f4c077377afb.tar.xz
seaweedfs-5469019852cf1399b64683cbcc54f4c077377afb.zip
adjust data type
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/master.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/master.go b/weed/command/master.go
index 0f5e2156d..bed55e334 100644
--- a/weed/command/master.go
+++ b/weed/command/master.go
@@ -198,7 +198,7 @@ func (m *MasterOptions) toMasterOption(whiteList []string) *weed_server.MasterOp
Host: *m.ip,
Port: *m.port,
MetaFolder: *m.metaFolder,
- VolumeSizeLimitMB: *m.volumeSizeLimitMB,
+ VolumeSizeLimitMB: uint32(*m.volumeSizeLimitMB),
VolumePreallocate: *m.volumePreallocate,
// PulseSeconds: *m.pulseSeconds,
DefaultReplicaPlacement: *m.defaultReplication,