summaryrefslogtreecommitdiff
path: root/ironic
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2021-12-06 08:45:21 -0800
committerJulia Kreger <juliaashleykreger@gmail.com>2021-12-06 08:45:21 -0800
commit80fccd80c38f58b27abb43feb1ec6992bf7cede5 (patch)
treed00554380a5e204b0f6dc6ae54960a33fe37f852 /ironic
parent1439af27ba2bd31fb85369754c648a45ee9ca14b (diff)
downloadironic-80fccd80c38f58b27abb43feb1ec6992bf7cede5.tar.gz
Trivial: minor follow-up to redfish fix
Just fixing two incidents of received being incorrectly spelled and adjusting the attribute error message slightly, in part because it is an entire error, and not just a single missing attribute. Change-Id: Ia59f774c9340e3a6fa63418afedf12098c709052
Diffstat (limited to 'ironic')
-rw-r--r--ironic/drivers/modules/redfish/utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ironic/drivers/modules/redfish/utils.py b/ironic/drivers/modules/redfish/utils.py
index eed391178..40cf33bce 100644
--- a/ironic/drivers/modules/redfish/utils.py
+++ b/ironic/drivers/modules/redfish/utils.py
@@ -375,7 +375,7 @@ def _get_connection(node, lambda_fun, *args):
'node': node.uuid, 'error': e})
raise exception.RedfishConnectionError(node=node.uuid, error=e)
except sushy.exceptions.AccessError as e:
- LOG.warning('For node %(node)s, we receieved an authentication '
+ LOG.warning('For node %(node)s, we received an authentication '
'access error from address %(address)s with auth_type '
'%(auth_type)s. The client will not be re-used upon '
'the next re-attempt. Please ensure your using the '
@@ -385,10 +385,10 @@ def _get_connection(node, lambda_fun, *args):
'node': node.uuid, 'error': e})
raise exception.RedfishError(node=node.uuid, error=e)
except AttributeError as e:
- LOG.warning('For node %(node)s, we receieved at AttributeError '
+ LOG.warning('For node %(node)s, we received at AttributeError '
'when attempting to utilize the client. A new '
'client session shall be used upon the next attempt.'
- 'Error: %(error)s',
+ 'Attribute Error: %(error)s',
{'node': node.uuid, 'error': e})
raise exception.RedfishError(node=node.uuid, error=e)