]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
provision: Avoid a possible AttributeError 1853/head
authorZack Cerza <zack@redhat.com>
Mon, 12 Jun 2023 21:37:56 +0000 (15:37 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 12 Jun 2023 21:37:56 +0000 (15:37 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/provision/__init__.py

index 2e9ba23ff55c4655fbcec97ce1f07494d55df702..d60d8acdb43797a3eeee4e09e3062168dad77d9d 100644 (file)
@@ -50,7 +50,7 @@ def reimage(ctx, machine_name, machine_type):
         raise
     finally:
         teuthology.exporter.NodeReimagingResults.record(
-            ctx.config.get("machine_type"),
+            machine_type,
             status,
         )
     return result