Fixed typos in nova, nova/api, nova/cells directory

This patchset fixes the typo errors in nova root(non recursively),
nova/api, nova/cells and nova/cmd directory.
TrivialFix

Change-Id: Id4e5dbeafb6fdb63bb733eef203a676f94143f32
This commit is contained in:
Alex Szarka 2016-07-12 17:13:52 +02:00 committed by Gábor Antal
parent eab62c0d8a
commit 5ef2f3c3d0
5 changed files with 5 additions and 5 deletions

View File

@ -416,7 +416,7 @@ class InstanceMetadata(object):
device_metadata['mac'] = device.mac
elif isinstance(device, metadata_obj.DiskMetadata):
device_metadata['type'] = 'disk'
# serial and path are optional paramenters
# serial and path are optional parameters
if 'serial' in device:
device_metadata['serial'] = device.serial
if 'path' in device:

View File

@ -33,7 +33,7 @@ create = {
# following parameters:
# "qpid://<username>:<password>@<rpc_host>:<rpc_port>/"
# or
# "rabiit://<username>:<password>@<rpc_host>:<rpc_port>/"
# "rabbit://<username>:<password>@<rpc_host>:<rpc_port>/"
# Then the url is stored into transport_url of cells table
# which is defined with String(255).
'username': {

View File

@ -159,7 +159,7 @@ class _BaseMessage(object):
self.max_hop_count = max_hop_count
self.is_broadcast = False
self._append_hop()
# Each sub-class should set this when the message is inited
# Each sub-class should set this when the message is initialized
self.next_hops = []
self.resp_queue = None
self.serializer = objects_base.NovaObjectSerializer()

View File

@ -687,7 +687,7 @@ class NetworkCommands(object):
# The --disassociate-X are boolean options, but if they user
# mistakenly provides a value, it will be used as a positional argument
# and be erroneously interepreted as some other parameter (e.g.
# and be erroneously interpreted as some other parameter (e.g.
# a project instead of host value). The safest thing to do is error-out
# with a message indicating that there is probably a problem with
# how the disassociate modifications are being used.

View File

@ -190,7 +190,7 @@ class TestCase(testtools.TestCase):
self.useFixture(nova_fixtures.StandardLogging())
# NOTE(sdague): because of the way we were using the lock
# wrapper we eneded up with a lot of tests that started
# wrapper we ended up with a lot of tests that started
# relying on global external locking being set up for them. We
# consider all of these to be *bugs*. Tests should not require
# global external locking, or if they do, they should