diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-12 17:54:34 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-12 17:54:34 -0700 |
| commit | 5469019852cf1399b64683cbcc54f4c077377afb (patch) | |
| tree | 81f297317e8e59970e25f70dc2a980de607483a3 /weed/command/master.go | |
| parent | 7667d26ebf267bb0631f26bdfa05287b7defbc3a (diff) | |
| download | seaweedfs-5469019852cf1399b64683cbcc54f4c077377afb.tar.xz seaweedfs-5469019852cf1399b64683cbcc54f4c077377afb.zip | |
adjust data type
Diffstat (limited to 'weed/command/master.go')
| -rw-r--r-- | weed/command/master.go | 2 |
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, |
