]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/ceph_test_case.py
update sources to v12.1.3
[ceph.git] / ceph / qa / tasks / ceph_test_case.py
index 47f3921347dbd980ed0050d7576af5e917e1a23b..0f66106c9f1f0ef0b87b5402867af105e28ece76 100644 (file)
@@ -84,7 +84,7 @@ class CephTestCase(unittest.TestCase):
         def seen_health_warning():
             health = self.ceph_cluster.mon_manager.get_mon_health()
             codes = [s for s in health['checks']]
-            summary_strings = [s[1]['message'] for s in health['checks'].iteritems()]
+            summary_strings = [s[1]['summary']['message'] for s in health['checks'].iteritems()]
             if len(summary_strings) == 0:
                 log.debug("Not expected number of summary strings ({0})".format(summary_strings))
                 return False