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/command/benchmark.go | |
| parent | 1d88865869b554d72be8fe2629080bcd97cb8767 (diff) | |
| download | seaweedfs-1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1.tar.xz seaweedfs-1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1.zip | |
go fmt
Diffstat (limited to 'weed/command/benchmark.go')
| -rw-r--r-- | weed/command/benchmark.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go index 9a66083f1..351efd3dc 100644 --- a/weed/command/benchmark.go +++ b/weed/command/benchmark.go @@ -35,7 +35,7 @@ type BenchmarkOptions struct { sequentialRead *bool collection *string replication *string - diskType *string + diskType *string cpuprofile *string maxCpu *int grpcDialOption grpc.DialOption @@ -236,7 +236,7 @@ func writeFiles(idChan chan int, fileIdLineChan chan string, s *stat) { Count: 1, Collection: *b.collection, Replication: *b.replication, - DiskType: *b.diskType, + DiskType: *b.diskType, } if assignResult, err := operation.Assign(b.masterClient.GetMaster(), b.grpcDialOption, ar); err == nil { fp.Server, fp.Fid, fp.Collection = assignResult.Url, assignResult.Fid, *b.collection |
