mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcd-tester: fix goword warnings
This commit is contained in:
parent
f7b84d69a4
commit
9feb3d0e51
@ -39,7 +39,7 @@ type failure interface {
|
|||||||
// Recover recovers the injected failure caused by the injection of the
|
// Recover recovers the injected failure caused by the injection of the
|
||||||
// given round and wait for the recovery of the testing cluster.
|
// given round and wait for the recovery of the testing cluster.
|
||||||
Recover(c *cluster, round int) error
|
Recover(c *cluster, round int) error
|
||||||
// return a description of the failure
|
// Desc returns a description of the failure
|
||||||
Desc() string
|
Desc() string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -161,8 +161,6 @@ type stresserV2 struct {
|
|||||||
KeySuffixRange int
|
KeySuffixRange int
|
||||||
|
|
||||||
N int
|
N int
|
||||||
// TODO: not implemented
|
|
||||||
Interval time.Duration
|
|
||||||
|
|
||||||
mu sync.Mutex
|
mu sync.Mutex
|
||||||
failure int
|
failure int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user