]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/vstart_runner: fix sh to make it compatible with teth 33873/head
authorXiubo Li <xiubli@redhat.com>
Wed, 11 Mar 2020 05:50:12 +0000 (01:50 -0400)
committerXiubo Li <xiubli@redhat.com>
Wed, 11 Mar 2020 08:59:26 +0000 (04:59 -0400)
Fixes: https://tracker.ceph.com/issues/44555
Signed-off-by: Xiubo Li <xiubli@redhat.com>
qa/tasks/vstart_runner.py

index ccc706b922b64f8a8ac0ae7a86d79f21fc8af804..0d5cef19ac12b6c73ba56e04f4219582df1ef50d 100644 (file)
@@ -389,7 +389,9 @@ class LocalRemote(object):
 
         return proc
 
-    def sh(self, command, log_limit=1024, cwd=None, env=None):
+    def sh(self, command, log_limit=1024, cwd=None, env=None, **kwargs):
+        if isinstance(command, list):
+            command=' '.join(command)
 
         return misc.sh(command=command, log_limit=log_limit, cwd=cwd,
                         env=env)