From db8b15bf8f90a65b0aa52586a448740e02bb6b76 Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Thu, 22 Dec 2016 16:28:10 -0800 Subject: [PATCH] etcd-tester: remove unused err var from maxRev --- tools/functional-tester/etcd-tester/failure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/functional-tester/etcd-tester/failure.go b/tools/functional-tester/etcd-tester/failure.go index 54afa97cd..cbc4a52ea 100644 --- a/tools/functional-tester/etcd-tester/failure.go +++ b/tools/functional-tester/etcd-tester/failure.go @@ -152,7 +152,7 @@ func (f *failureUntilSnapshot) Inject(c *cluster, round int) error { // Give it 3-times time to create a new snapshot. retry := snapshotCount / 1000 * 3 for j := 0; j < retry; j++ { - lastRev, err = c.maxRev() + lastRev, _ = c.maxRev() // If the number of proposals committed is bigger than snapshot count, // a new snapshot should have been created. if lastRev-startRev > snapshotCount {