summaryrefslogtreecommitdiff
path: root/swiftbench/bench.py
diff options
context:
space:
mode:
Diffstat (limited to 'swiftbench/bench.py')
-rw-r--r--swiftbench/bench.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/swiftbench/bench.py b/swiftbench/bench.py
index fc972f7..ae44f2f 100644
--- a/swiftbench/bench.py
+++ b/swiftbench/bench.py
@@ -330,8 +330,8 @@ class DistributedBenchController(object):
eventlet.patcher.monkey_patch(socket=True)
pool = eventlet.GreenPool(size=len(self.clients))
pile = eventlet.GreenPile(pool)
- for client in self.clients:
- pile.spawn(self.do_run, client)
+ for c in self.clients:
+ pile.spawn(self.do_run, c)
results = {
'PUTS': dict(count=0, failures=0, rate=0.0),
'GETS': dict(count=0, failures=0, rate=0.0),