Fix SushyError namespacing in Redfish inspection
Properly namespaces SushyError exception in Redfish inspection. Story: 2004560 Task: 28543 Change-Id: I77473090198f4873b17d1af8b7036afdad13865f
This commit is contained in:
parent
68832e8340
commit
831b6ff16f
@ -124,7 +124,7 @@ class RedfishInspect(base.InspectInterface):
|
||||
|
||||
simple_storage_size = simple_storage_size[0]
|
||||
|
||||
except sushy.SushyError as ex:
|
||||
except sushy.exceptions.SushyError as ex:
|
||||
LOG.debug("No simple storage information discovered "
|
||||
"for node %(node)s: %(err)s", {'node': task.node.uuid,
|
||||
'err': ex})
|
||||
@ -140,7 +140,7 @@ class RedfishInspect(base.InspectInterface):
|
||||
|
||||
storage_size = storage_size[0]
|
||||
|
||||
except sushy.SushyError as ex:
|
||||
except sushy.exceptions.SushyError as ex:
|
||||
LOG.debug("No storage volume information discovered "
|
||||
"for node %(node)s: %(err)s", {'node': task.node.uuid,
|
||||
'err': ex})
|
||||
|
Loading…
Reference in New Issue
Block a user