[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: I1efadb54995b0f5a2a8b672f017831a3009cb6d2
This commit is contained in:
Sharpz7 2024-01-29 21:08:48 +00:00
parent 23aea8b8fb
commit c5cf606339
5 changed files with 9 additions and 9 deletions

View File

@ -46,7 +46,7 @@ https://docs.openstack.org/horizon/latest/contributor/quickstart.html.
6. Start the server in test mode with the ``npm run test`` command. 6. Start the server in test mode with the ``npm run test`` command.
7. Access the test page in order to initate tests. 7. Access the test page in order to initiate tests.
http://localhost:8000/jasmine/?spec=horizon.dashboard.admin.ironic http://localhost:8000/jasmine/?spec=horizon.dashboard.admin.ironic

View File

@ -69,14 +69,14 @@
} }
/** /**
* @description Comaprison function used to sort driver property groups * @description Comparison function used to sort driver property groups
* *
* @param {DriverProperty[]} group1 - First group * @param {DriverProperty[]} group1 - First group
* @param {DriverProperty[]} group2 - Second group * @param {DriverProperty[]} group2 - Second group
* @return {integer} Return: * @return {integer} Return:
* < 0 if group1 should precede group2 in an ascending ordering * < 0 if group1 should precede group2 in an ascending ordering
* > 0 if group2 should precede group1 * > 0 if group2 should precede group1
* 0 if group1 and group2 are considered equal from ordering perpsective * 0 if group1 and group2 are considered equal from ordering perspective
*/ */
function compareDriverPropertyGroups(group1, group2) { function compareDriverPropertyGroups(group1, group2) {
var group1HasRequired = driverPropertyGroupHasRequired(group1); var group1HasRequired = driverPropertyGroupHasRequired(group1);

View File

@ -77,12 +77,12 @@
/** /**
* @description Depth-first-search graph traversal utility function * @description Depth-first-search graph traversal utility function
* *
* @param {object} vertex - Root vertex from which traveral will begin. * @param {object} vertex - Root vertex from which traversal will begin.
* It is assumed that this vertex has not alreday been visited as part * It is assumed that this vertex has not already been visited as part
* of this traversal. * of this traversal.
* @param {object} visited - Associative array. Each named property * @param {object} visited - Associative array. Each named property
* corresponds to a vertex with the same name, and has boolean value * corresponds to a vertex with the same name, and has boolean value
* indicating whether the vertex has been alreday visited. * indicating whether the vertex has been already visited.
* @param {object[]} component - Array of vertices that define a strongly * @param {object[]} component - Array of vertices that define a strongly
* connected component. * connected component.
* @returns {void} * @returns {void}
@ -107,7 +107,7 @@
* be called to process each component. * be called to process each component.
* *
* @param {function} componentFunc - Function called on each strongly * @param {function} componentFunc - Function called on each strongly
* connected component. Accepts aruments: array of vertex objects, and * connected component. Accepts arguments: array of vertex objects, and
* user-provided extra data that can be used in processing the component. * user-provided extra data that can be used in processing the component.
* @param {object} extra - Extra data that is passed into the component * @param {object} extra - Extra data that is passed into the component
* processing function. * processing function.

View File

@ -489,7 +489,7 @@
} }
/** /**
* @description Retrieve properities of a specified driver * @description Retrieve properties of a specified driver
* *
* https://docs.openstack.org/api-ref/baremetal/#show-driver-properties * https://docs.openstack.org/api-ref/baremetal/#show-driver-properties
* *

View File

@ -98,7 +98,7 @@
init(); init();
// RETRIVE NODES AND PORTS // RETRIEVE NODES AND PORTS
function init() { function init() {
retrieveNodes(); retrieveNodes();