aboutsummaryrefslogtreecommitdiff
path: root/weed/command/benchmark.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-08-12 14:27:14 -0700
committerChris Lu <chris.lu@gmail.com>2018-08-12 14:27:14 -0700
commit75d63db60d1677f2e3350c3ee2b9dbecf931ec1a (patch)
tree939d170c6c2e076395b219fcbd91eac0a743c71e /weed/command/benchmark.go
parenteca4b928d2b14fa940233eba3458df52077a9ede (diff)
downloadseaweedfs-75d63db60d1677f2e3350c3ee2b9dbecf931ec1a.tar.xz
seaweedfs-75d63db60d1677f2e3350c3ee2b9dbecf931ec1a.zip
randomize raft server startup
also some go fmt
Diffstat (limited to 'weed/command/benchmark.go')
-rw-r--r--weed/command/benchmark.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go
index 4ba00dc98..8b65c8663 100644
--- a/weed/command/benchmark.go
+++ b/weed/command/benchmark.go
@@ -2,6 +2,7 @@ package command
import (
"bufio"
+ "context"
"fmt"
"io"
"math"
@@ -19,7 +20,6 @@ import (
"github.com/chrislusf/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/chrislusf/seaweedfs/weed/wdclient"
- "context"
)
type BenchmarkOptions struct {