summaryrefslogtreecommitdiff
path: root/ironic/drivers/modules/redfish
diff options
context:
space:
mode:
authorAija Jauntēva <aija.jaunteva@dell.com>2021-12-10 11:00:24 -0500
committerAija Jauntēva <aija.jaunteva@dell.com>2021-12-13 09:21:22 -0500
commit9076f185ca40e7629523b926ddf817da1ca6b4a8 (patch)
tree3e040fc0f65ce731b5f6b1cdf8227ceca82334b3 /ironic/drivers/modules/redfish
parentcdc3b9538f3e874dc7d76a90b116ecef3a3603c7 (diff)
downloadironic-9076f185ca40e7629523b926ddf817da1ca6b4a8.tar.gz
Fix redfish update_firmware for newer Sushy
`TaskMonitor.task_monitor` is deprecated and was removed from sushy at Ie48fab19199c0c2f3455d2212d50460a29685eed. Somehow missed to update it for `redfish` firmware upgrade steps previously. Change-Id: Iced8e921335995e1e084d6e632c6e81d3fc9249f
Diffstat (limited to 'ironic/drivers/modules/redfish')
-rw-r--r--ironic/drivers/modules/redfish/management.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/drivers/modules/redfish/management.py b/ironic/drivers/modules/redfish/management.py
index 6839e38c6..b3517656c 100644
--- a/ironic/drivers/modules/redfish/management.py
+++ b/ironic/drivers/modules/redfish/management.py
@@ -807,7 +807,7 @@ class RedfishManagement(base.ManagementInterface):
task_monitor = update_service.simple_update(firmware_url)
driver_internal_info = node.driver_internal_info
- firmware_update['task_monitor'] = task_monitor.task_monitor
+ firmware_update['task_monitor'] = task_monitor.task_monitor_uri
driver_internal_info['firmware_updates'] = firmware_updates
node.driver_internal_info = driver_internal_info