Trivial: Fix some typos in comments and docstring

Change-Id: I2b0f76c7458f79e23708c8dd9455239c71cc2f5a
This commit is contained in:
ChangBo Guo(gcb) 2016-09-29 10:41:57 +08:00 committed by ChangBo Guo(gcb)
parent 85750a1913
commit 66a0812058
7 changed files with 8 additions and 8 deletions

View File

@ -66,7 +66,7 @@ IRONIC_HW_ARCH=${IRONIC_HW_ARCH:-x86_64}
# The file is composed of multiple lines, each line includes fields
# separated by white space, in the format:
#
# <BMC address> <MAC address> <BMC username> <BMC password> [<driver specfic fields>]
# <BMC address> <MAC address> <BMC username> <BMC password> [<driver specific fields>]
#
# For example:
#

View File

@ -17,7 +17,7 @@ Enabling API Audit Logging
==========================
Audit middleware is available as part of `keystonemiddleware` (>= 1.6) library.
For infomation regarding how audit middleware functions refer `here.
For information regarding how audit middleware functions refer `here.
<http://docs.openstack.org/developer/keystonemiddleware/audit.html>`_
Auditing can be enabled for the Bare Metal service by making the following changes

View File

@ -45,7 +45,7 @@ Enabling metrics in ironic-python-agent
---------------------------------------
The ironic-python-agent process receives its configuration in the response from
the inital lookup request to the ironic-api service. This means to configure
the initial lookup request to the ironic-api service. This means to configure
ironic-python-agent to emit metrics, you must enable the agent metrics backend
in your ironic configuration file on all ironic-conductor hosts::

View File

@ -127,7 +127,7 @@ Configuring and enabling the driver
.. note::
An operator can set the ``periodic_check_interval`` option in the [oneview]
section to set the interval between running the periodic check. The default
value is 300 seconds (5 minutes). A lower value will reduce the likelyhood
value is 300 seconds (5 minutes). A lower value will reduce the likelihood
of races between ironic and OneView at the cost of being more resource
intensive.
@ -183,7 +183,7 @@ Configuring and enabling the driver
.. note::
An operator can set the ``periodic_check_interval`` option in the [oneview]
section to set the interval between running the periodic check. The default
value is 300 seconds (5 minutes). A lower value will reduce the likelyhood
value is 300 seconds (5 minutes). A lower value will reduce the likelihood
of races between ironic and OneView at the cost of being more resource
intensive.

View File

@ -142,7 +142,7 @@ def hide_fields_in_newer_versions(obj):
def update_state_in_older_versions(obj):
"""Change provision state names for API backwards compatability.
"""Change provision state names for API backwards compatibility.
:param obj: The object being returned to the API client that is
to be updated by this method.

View File

@ -643,7 +643,7 @@ def _commit_to_controllers(node, controllers):
job_id = commit_config(node, raid_controller=controller,
reboot=False)
LOG.info(_LI('Change has been commited to RAID controller '
LOG.info(_LI('Change has been committed to RAID controller '
'%(controller)s on node %(node)s. '
'DRAC job id: %(job_id)s'),
{'controller': controller, 'node': node.uuid,

View File

@ -744,7 +744,7 @@ class FsImageTestCase(base.TestCase):
'ctx', 'kernel-uuid', 'tmpdir/kernel-uuid')
fetch_images_mock.assert_any_call(
'ctx', 'ramdisk-uuid', 'tmpdir/ramdisk-uuid')
# Note (NobodyCam): the orginal assert asserted that fetch_images
# Note (NobodyCam): the original assert asserted that fetch_images
# was not called with parameters, this did not
# work, So I instead assert that there were only
# Two calls to the mock validating the above