[codespell] Fixing spelling issues in Ironic-Lib

Continuing work by @JayF in other ironic repos. Find that explanation below.

This fixes several spelling issues identified by codepsell.

Later changes in this chain will provide the codespell config used to
generate this, as well as adding this commit's SHA, once landed, to a
.git-blame-ignore-revs file to ensure it will not pollute git historys
for modern clients.

Related Bug: https://bugs.launchpad.net/ironic-python-agent/+bug/2047654

Change-Id: I38ad9c46add87b0e67c912f2920f76ea7d0c3b80
This commit is contained in:
Sharpz7 2024-01-15 07:16:16 +00:00
parent 536db45764
commit 7952b5d788
2 changed files with 4 additions and 4 deletions

View File

@ -520,7 +520,7 @@ def convert_image(source, dest, out_format, run_as_root=False, cache=None,
if out_of_order:
cmd.append('-W')
cmd += [source, dest]
# NOTE(TheJulia): Staticly set the MALLOC_ARENA_MAX to prevent leaking
# NOTE(TheJulia): Statically set the MALLOC_ARENA_MAX to prevent leaking
# and the creation of new malloc arenas which will consume the system
# memory. If limited to 1, qemu-img consumes ~250 MB of RAM, but when
# another thread tries to access a locked section of memory in use with
@ -729,7 +729,7 @@ def udev_settle():
def partprobe(device, attempts=None):
"""Probe partitions on the given device.
:param device: The block device containing paritions that is attempting
:param device: The block device containing partitions that is attempting
to be updated.
:param attempts: Number of attempts to run partprobe, the default is read
from the configuration.
@ -766,7 +766,7 @@ def trigger_device_rescan(device, attempts=None):
When ramdisks are not in use, this also helps ensure that data has
been safely flushed across the wire, such as on iscsi connections.
:param device: The block device containing paritions that is attempting
:param device: The block device containing partitions that is attempting
to be updated.
:param attempts: Number of attempts to run partprobe, the default is read
from the configuration.

View File

@ -106,7 +106,7 @@ class DictCollectionMetricLogger(metrics.MetricLogger):
def get_metrics_data(self):
"""Return the metrics collection dictionary.
:returns: Dictonary containing the keys and values of
:returns: Dictionary containing the keys and values of
data stored via the metrics collection hooks.
The values themselves are dictionaries which
contain a type field, indicating if the statistic