]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix valgrind when no valgrind
authorSage Weil <sage@inktank.com>
Sat, 7 Sep 2013 00:34:42 +0000 (17:34 -0700)
committerSage Weil <sage@inktank.com>
Sat, 7 Sep 2013 00:34:42 +0000 (17:34 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/task/rgw.py

index b4f1725d7a6a7bea8c3d7f8b2174ecc1a203a6ff..fded6aa3d56bc9ab48113abd52b38537d218762f 100644 (file)
@@ -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)