diff options
Diffstat (limited to 'ironic/drivers/modules/drac/vendor_passthru.py')
-rw-r--r-- | ironic/drivers/modules/drac/vendor_passthru.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ironic/drivers/modules/drac/vendor_passthru.py b/ironic/drivers/modules/drac/vendor_passthru.py index 07b08135e..be45ef61c 100644 --- a/ironic/drivers/modules/drac/vendor_passthru.py +++ b/ironic/drivers/modules/drac/vendor_passthru.py @@ -65,9 +65,7 @@ class DracVendorPassthru(base.VendorInterface): """ bios_attrs = {} for name, bios_attr in drac_bios.get_config(task.node).items(): - # NOTE(ifarkas): call from python-dracclient returns list of - # namedtuples, converting it to dict here. - bios_attrs[name] = bios_attr._asdict() + bios_attrs[name] = bios_attr.__dict__ return bios_attrs |