]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
ansible.FailureAnalyzer: items -> values
authorZack Cerza <zack@redhat.com>
Fri, 14 Jul 2023 17:17:19 +0000 (11:17 -0600)
committerZack Cerza <zack@redhat.com>
Fri, 14 Jul 2023 17:17:19 +0000 (11:17 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/task/ansible.py

index 6ccdc7664c615e3c46d618ce04a47cff3f976925..331c9b792828cf7342a3e9efa5e34decdbedbc09 100644 (file)
@@ -43,7 +43,7 @@ class FailureAnalyzer:
         lines = set()
         if failure_obj is None:
             return lines
-        for host_obj in failure_obj.items():
+        for host_obj in failure_obj.values():
             lines = lines.union(self.analyze_host_record(host_obj))
         return lines