From: Sage Weil Date: Sat, 7 Sep 2013 00:34:42 +0000 (-0700) Subject: rgw: fix valgrind when no valgrind X-Git-Tag: 1.1.0~1887^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a5c33a3dbaabbf29f6849e2102f523d09ac605b6;p=teuthology.git rgw: fix valgrind when no valgrind Signed-off-by: Sage Weil --- diff --git a/teuthology/task/rgw.py b/teuthology/task/rgw.py index b4f1725d7a..fded6aa3d5 100644 --- a/teuthology/task/rgw.py +++ b/teuthology/task/rgw.py @@ -177,12 +177,13 @@ def start_rgw(ctx, config): run.Raw('2>&1'), ] - run_cmd = teuthology.get_valgrind_args( - testdir, - client, - run_cmd, - client_config.get('valgrind') - ) + if client_config.get('valgrind'): + run_cmd = teuthology.get_valgrind_args( + testdir, + client, + run_cmd, + client_config.get('valgrind') + ) run_cmd.extend(run_cmd_tail)