diff options
author | Sam Zuk <szuk@redhat.com> | 2022-06-14 17:06:14 +0000 |
---|---|---|
committer | Sam Zuk <szuk@redhat.com> | 2022-06-14 17:06:14 +0000 |
commit | 94f9745f0c04fc12b22edf0ee1f864d56e9c9cb2 (patch) | |
tree | 77a5a66249ab981b7af5e91b6b4bda3bb37eb337 /ironic/common/images.py | |
parent | 0659485d630b8651faa633f98b1802bdf244f186 (diff) | |
download | ironic-94f9745f0c04fc12b22edf0ee1f864d56e9c9cb2.tar.gz |
[Minor] Fix misspellings of "insufficient"
In a few places in the codebase, "insufficient" is misspelled as
"insufficent," which includes function names and exception class names.
This can be inconvenient for writing and debugging code, in which case
one would raise an exception/call a function and get an error that is
resolved by intentionally misspelling the function call.
The changes made here are mostly to the names of exceptions and
functions but also include some other instances of this misspelling
in docstrings, policy descriptions, etc. There were also some strings
describing policies in ironic/common/policy.py that were missing
spaces, which were also fixed.
Story: 2010089
Task: 45604
Change-Id: I7b65c449d5d30ca30f537a95a3ffd365492e0274
Diffstat (limited to 'ironic/common/images.py')
-rw-r--r-- | ironic/common/images.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/common/images.py b/ironic/common/images.py index 839faa088..bffff8807 100644 --- a/ironic/common/images.py +++ b/ironic/common/images.py @@ -411,7 +411,7 @@ def image_to_raw(image_href, path, path_tmp): if fmt != "raw": staged = "%s.converted" % path - utils.is_memory_insufficent(raise_if_fail=True) + utils.is_memory_insufficient(raise_if_fail=True) LOG.debug("%(image)s was %(format)s, converting to raw", {'image': image_href, 'format': fmt}) with fileutils.remove_path_on_error(staged): |