aboutsummaryrefslogtreecommitdiff
path: root/weed/command/benchmark.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-12-16 09:14:05 -0800
committerChris Lu <chris.lu@gmail.com>2020-12-16 09:14:05 -0800
commit1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1 (patch)
treeeaa221a960e59b1b73b6b76035787a603dd1892c /weed/command/benchmark.go
parent1d88865869b554d72be8fe2629080bcd97cb8767 (diff)
downloadseaweedfs-1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1.tar.xz
seaweedfs-1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1.zip
go fmt
Diffstat (limited to 'weed/command/benchmark.go')
-rw-r--r--weed/command/benchmark.go4
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