]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/tasks/ceph_manager: no newlines in 'ceph -s' output
authorSage Weil <sage@redhat.com>
Mon, 5 Aug 2019 14:41:18 +0000 (09:41 -0500)
committerSage Weil <sage@redhat.com>
Tue, 6 Aug 2019 03:02:31 +0000 (22:02 -0500)
This gets dumped to the log, making it hard to read.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/ceph_manager.py

index 4d9ac33a9022818afe414f9d2c1b8f92b8f27c34..1f52f876faec59de85231d43b2821c819d5ea923 100644 (file)
@@ -1612,7 +1612,7 @@ class CephManager:
         """
         Get status from cluster
         """
-        status = self.raw_cluster_cmd('status', '--format=json-pretty')
+        status = self.raw_cluster_cmd('status', '--format=json')
         return json.loads(status)
 
     def raw_osd_status(self):