diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-12-16 09:14:05 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-12-16 09:14:05 -0800 |
| commit | 1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1 (patch) | |
| tree | eaa221a960e59b1b73b6b76035787a603dd1892c /weed/operation/assign_file_id.go | |
| parent | 1d88865869b554d72be8fe2629080bcd97cb8767 (diff) | |
| download | seaweedfs-1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1.tar.xz seaweedfs-1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1.zip | |
go fmt
Diffstat (limited to 'weed/operation/assign_file_id.go')
| -rw-r--r-- | weed/operation/assign_file_id.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/weed/operation/assign_file_id.go b/weed/operation/assign_file_id.go index bb0b8e6df..b2fcf0c96 100644 --- a/weed/operation/assign_file_id.go +++ b/weed/operation/assign_file_id.go @@ -18,7 +18,7 @@ type VolumeAssignRequest struct { Replication string Collection string Ttl string - DiskType string + DiskType string DataCenter string Rack string DataNode string @@ -55,7 +55,7 @@ func Assign(server string, grpcDialOption grpc.DialOption, primaryRequest *Volum Replication: request.Replication, Collection: request.Collection, Ttl: request.Ttl, - DiskType: request.DiskType, + DiskType: request.DiskType, DataCenter: request.DataCenter, Rack: request.Rack, DataNode: request.DataNode, @@ -107,7 +107,7 @@ func LookupJwt(master string, fileId string) security.EncodedJwt { type StorageOption struct { Replication string - DiskType string + DiskType string Collection string DataCenter string Rack string @@ -126,7 +126,7 @@ func (so *StorageOption) ToAssignRequests(count int) (ar *VolumeAssignRequest, a Replication: so.Replication, Collection: so.Collection, Ttl: so.TtlString(), - DiskType: so.DiskType, + DiskType: so.DiskType, DataCenter: so.DataCenter, Rack: so.Rack, WritableVolumeCount: so.VolumeGrowthCount, @@ -137,7 +137,7 @@ func (so *StorageOption) ToAssignRequests(count int) (ar *VolumeAssignRequest, a Replication: so.Replication, Collection: so.Collection, Ttl: so.TtlString(), - DiskType: so.DiskType, + DiskType: so.DiskType, DataCenter: "", Rack: "", WritableVolumeCount: so.VolumeGrowthCount, |
