mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-02-09 09:17:28 +08:00
adjust parameter names
This commit is contained in:
@@ -23,7 +23,7 @@ func AllocateVolume(dn *DataNode, grpcDialOption grpc.DialOption, vid needle.Vol
|
||||
Replication: option.ReplicaPlacement.String(),
|
||||
Ttl: option.Ttl.String(),
|
||||
Preallocate: option.Prealloacte,
|
||||
MemoryMapMaxSizeMB: option.MemoryMapMaxSizeMB,
|
||||
MemoryMapMaxSizeMb: option.MemoryMapMaxSizeMb,
|
||||
})
|
||||
return deleteErr
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ type VolumeGrowOption struct {
|
||||
DataCenter string
|
||||
Rack string
|
||||
DataNode string
|
||||
MemoryMapMaxSizeMB uint32
|
||||
MemoryMapMaxSizeMb uint32
|
||||
}
|
||||
|
||||
type VolumeGrowth struct {
|
||||
|
||||
Reference in New Issue
Block a user