Merge "Follow-up patch for rescue extension for CoreOS"
This commit is contained in:
commit
7fa0e9f8c3
ironic_python_agent
@ -343,7 +343,7 @@ class IronicPythonAgent(base.ExecuteCommandMixin):
|
||||
try:
|
||||
server.handle_request()
|
||||
except BaseException as e:
|
||||
msg = "Failed due to unknow exception. Error %s" % e
|
||||
msg = "Failed due to an unknown exception. Error %s" % e
|
||||
LOG.exception(msg)
|
||||
raise errors.IronicAPIError(msg)
|
||||
LOG.info('shutting down')
|
||||
|
@ -244,7 +244,7 @@ class TestBaseAgent(ironic_agent_base.IronicAgentTest):
|
||||
}
|
||||
|
||||
self.assertRaisesRegex(errors.IronicAPIError,
|
||||
'Failed due to unknow exception.',
|
||||
'Failed due to an unknown exception.',
|
||||
self.agent.run)
|
||||
|
||||
self.assertTrue(mock_wait.called)
|
||||
|
Loading…
x
Reference in New Issue
Block a user