summaryrefslogtreecommitdiff
path: root/bin/swift-bench
diff options
context:
space:
mode:
authorJoe Arnold <joe@swiftstack.com>2012-11-07 15:57:12 -0800
committerJoe Arnold <joe@swiftstack.com>2012-11-07 15:57:12 -0800
commit494979661be2cf1b89acc22a31cfd87b86bca44e (patch)
tree1605dae8bb088277e6c12e9b8ece3d0fac708d20 /bin/swift-bench
parentb83e27cba03e8cedd1dd98d7faff81ee35552532 (diff)
downloadswift-bench-494979661be2cf1b89acc22a31cfd87b86bca44e.tar.gz
Fixed swift-bench when using -b and a conf file
Change-Id: I72448cd8578b53a658f151354a26066772e4b9ec
Diffstat (limited to 'bin/swift-bench')
-rwxr-xr-xbin/swift-bench1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/swift-bench b/bin/swift-bench
index b358ce7..b575b19 100755
--- a/bin/swift-bench
+++ b/bin/swift-bench
@@ -127,6 +127,7 @@ if __name__ == '__main__':
sys.exit("No such conf file: %s" % conf)
conf = readconf(conf, 'bench', log_name='swift-bench',
defaults=CONF_DEFAULTS)
+ conf['bench_clients'] = []
else:
conf = CONF_DEFAULTS
parser.set_defaults(**conf)