]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
rgw: simplify valgrind args
authorJosh Durgin <josh.durgin@dreamhost.com>
Fri, 24 Feb 2012 22:55:23 +0000 (14:55 -0800)
committerJosh Durgin <josh.durgin@dreamhost.com>
Fri, 24 Feb 2012 22:56:42 +0000 (14:56 -0800)
teuthology/task/rgw.py

index 7bf27439738649e5bd3d2917bb9764163cfa2286..eebba4f3d17b3d9c34365e5290e458a2b8425e95 100644 (file)
@@ -122,11 +122,13 @@ def start_rgw(ctx, config):
                 run.Raw('2>&1'),
             ]
 
-        extra_args = teuthology.get_valgrind_args(
-            client, client_config.get('valgrind', None))
+        run_cmd.extend(
+            teuthology.get_valgrind_args(
+                client,
+                client_config.get('valgrind')
+                )
+            )
 
-        if extra_args is not None:
-            run_cmd.extend(extra_args)
         run_cmd.extend(run_cmd_tail)
 
         proc = remote.run(