[codespell] Fixing Spelling Mistakes

This is the first in a series of commits to add support for codespell. This is continuning the process completed in ironic-python-agent.

Future Commits will add a Tox Target, CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: If39cba190cd4cde60ce13ae2fcde77b69776d4d2
This commit is contained in:
Sharpz7 2024-01-26 05:18:16 +00:00
parent 8fa7e1f9d8
commit 2f74128822
3 changed files with 4 additions and 4 deletions

View File

@ -6,5 +6,5 @@ security:
<https://storyboard.openstack.org/#!/story/2010382>`_.
fixes:
- |
Fixes an issue where secure fields were accidently lost in the Libvirt
Fixes an issue where secure fields were accidentally lost in the Libvirt
domain XML document.

View File

@ -78,7 +78,7 @@ class VirtualBMCTestCase(base.TestCase):
self._assert_libvirt_calls(mock_libvirt_domain, mock_libvirt_open,
readonly=True)
# reset mocks for the next iteraction
# reset mocks for the next iteration
mock_libvirt_domain.reset_mock()
mock_libvirt_open.reset_mock()
@ -95,7 +95,7 @@ class VirtualBMCTestCase(base.TestCase):
self.assertEqual(1, str(conn.defineXML.call_args).count('<boot '))
self._assert_libvirt_calls(mock_libvirt_domain, mock_libvirt_open)
# reset mocks for the next iteraction
# reset mocks for the next iteration
mock_libvirt_domain.reset_mock()
mock_libvirt_open.reset_mock()

View File

@ -208,7 +208,7 @@ class VirtualBMC(bmc.Bmc):
if domain.isActive():
domain.reset()
except Exception as e:
LOG.error('Error reseting the domain %(domain)s. '
LOG.error('Error resetting the domain %(domain)s. '
'Error: %(error)s', {'domain': self.domain_name,
'error': e})
# Command not supported in present state