etcd-tester: fix goword warnings

This commit is contained in:
Anthony Romano 2016-06-17 13:12:50 -07:00
parent f7b84d69a4
commit 9feb3d0e51
2 changed files with 1 additions and 3 deletions

View File

@ -39,7 +39,7 @@ type failure interface {
// Recover recovers the injected failure caused by the injection of the
// given round and wait for the recovery of the testing cluster.
Recover(c *cluster, round int) error
// return a description of the failure
// Desc returns a description of the failure
Desc() string
}

View File

@ -161,8 +161,6 @@ type stresserV2 struct {
KeySuffixRange int
N int
// TODO: not implemented
Interval time.Duration
mu sync.Mutex
failure int