]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/vstart_runner: make remote.sh return str as default 33769/head
authorXiubo Li <xiubli@redhat.com>
Thu, 23 Apr 2020 23:14:36 +0000 (19:14 -0400)
committerXiubo Li <xiubli@redhat.com>
Fri, 24 Apr 2020 07:05:34 +0000 (03:05 -0400)
To address the issue in https://github.com/ceph/teuthology/pull/1459.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
qa/tasks/vstart_runner.py

index fb5dfb0e9c070687852667423ae7a102696bc5a2..d6a69066255e6e3b0654591e66316ec0c46aae0d 100644 (file)
@@ -417,7 +417,7 @@ class LocalRemote(object):
             remote_date = remote.sh('date')
         """
         if 'stdout' not in kwargs:
-            kwargs['stdout'] = BytesIO()
+            kwargs['stdout'] = StringIO()
         if 'args' not in kwargs:
             kwargs['args'] = script
         proc = self.run(**kwargs)