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/submit.go | |
| parent | 1d88865869b554d72be8fe2629080bcd97cb8767 (diff) | |
| download | seaweedfs-1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1.tar.xz seaweedfs-1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1.zip | |
go fmt
Diffstat (limited to 'weed/operation/submit.go')
| -rw-r--r-- | weed/operation/submit.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/weed/operation/submit.go b/weed/operation/submit.go index bcdf9ddce..907825311 100644 --- a/weed/operation/submit.go +++ b/weed/operation/submit.go @@ -25,7 +25,7 @@ type FilePart struct { Collection string DataCenter string Ttl string - DiskType string + DiskType string Server string //this comes from assign result Fid string //this comes from assign result, but customizable Fsync bool @@ -50,7 +50,7 @@ func SubmitFiles(master string, grpcDialOption grpc.DialOption, files []FilePart Collection: collection, DataCenter: dataCenter, Ttl: ttl, - DiskType: diskType, + DiskType: diskType, } ret, err := Assign(master, grpcDialOption, ar) if err != nil { @@ -146,7 +146,7 @@ func (fi FilePart) Upload(maxMB int, master string, usePublicUrl bool, jwt secur Replication: fi.Replication, Collection: fi.Collection, Ttl: fi.Ttl, - DiskType: fi.DiskType, + DiskType: fi.DiskType, } ret, err = Assign(master, grpcDialOption, ar) if err != nil { @@ -160,7 +160,7 @@ func (fi FilePart) Upload(maxMB int, master string, usePublicUrl bool, jwt secur Replication: fi.Replication, Collection: fi.Collection, Ttl: fi.Ttl, - DiskType: fi.DiskType, + DiskType: fi.DiskType, } ret, err = Assign(master, grpcDialOption, ar) if err != nil { |
