[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.
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

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[]} group2 - Second group
* @return {integer} Return:
* < 0 if group1 should precede group2 in an ascending ordering
* > 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) {
var group1HasRequired = driverPropertyGroupHasRequired(group1);

View File

@ -77,12 +77,12 @@
/**
* @description Depth-first-search graph traversal utility function
*
* @param {object} vertex - Root vertex from which traveral will begin.
* It is assumed that this vertex has not alreday been visited as part
* @param {object} vertex - Root vertex from which traversal will begin.
* It is assumed that this vertex has not already been visited as part
* of this traversal.
* @param {object} visited - Associative array. Each named property
* 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
* connected component.
* @returns {void}
@ -107,7 +107,7 @@
* be called to process each component.
*
* @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.
* @param {object} extra - Extra data that is passed into the component
* 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
*

View File

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