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
This commit is contained in:
parent
1439af27ba
commit
80fccd80c3
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue