From 755eee0d3010adb2aa05109e84bf86d54382029c Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Mon, 1 Aug 2016 15:35:31 -0700 Subject: [PATCH] etcd-tester: remove unnecessary arg from stresser --- tools/functional-tester/etcd-tester/stresser.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/functional-tester/etcd-tester/stresser.go b/tools/functional-tester/etcd-tester/stresser.go index 252b419a6..00d8f80fd 100644 --- a/tools/functional-tester/etcd-tester/stresser.go +++ b/tools/functional-tester/etcd-tester/stresser.go @@ -180,14 +180,14 @@ func (s *stresser) Stress() error { s.stressTable = createStressTable(stressEntries) for i := 0; i < s.N; i++ { - go s.run(ctx, kvc) + go s.run(ctx) } plog.Printf("stresser %q is started", s.Endpoint) return nil } -func (s *stresser) run(ctx context.Context, kvc pb.KVClient) { +func (s *stresser) run(ctx context.Context) { defer s.wg.Done() for {