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:
@@ -416,7 +416,7 @@ class InstanceMetadata(object):
|
|||||||
device_metadata['mac'] = device.mac
|
device_metadata['mac'] = device.mac
|
||||||
elif isinstance(device, metadata_obj.DiskMetadata):
|
elif isinstance(device, metadata_obj.DiskMetadata):
|
||||||
device_metadata['type'] = 'disk'
|
device_metadata['type'] = 'disk'
|
||||||
# serial and path are optional paramenters
|
# serial and path are optional parameters
|
||||||
if 'serial' in device:
|
if 'serial' in device:
|
||||||
device_metadata['serial'] = device.serial
|
device_metadata['serial'] = device.serial
|
||||||
if 'path' in device:
|
if 'path' in device:
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ create = {
|
|||||||
# following parameters:
|
# following parameters:
|
||||||
# "qpid://<username>:<password>@<rpc_host>:<rpc_port>/"
|
# "qpid://<username>:<password>@<rpc_host>:<rpc_port>/"
|
||||||
# or
|
# 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
|
# Then the url is stored into transport_url of cells table
|
||||||
# which is defined with String(255).
|
# which is defined with String(255).
|
||||||
'username': {
|
'username': {
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ class _BaseMessage(object):
|
|||||||
self.max_hop_count = max_hop_count
|
self.max_hop_count = max_hop_count
|
||||||
self.is_broadcast = False
|
self.is_broadcast = False
|
||||||
self._append_hop()
|
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.next_hops = []
|
||||||
self.resp_queue = None
|
self.resp_queue = None
|
||||||
self.serializer = objects_base.NovaObjectSerializer()
|
self.serializer = objects_base.NovaObjectSerializer()
|
||||||
|
|||||||
@@ -687,7 +687,7 @@ class NetworkCommands(object):
|
|||||||
|
|
||||||
# The --disassociate-X are boolean options, but if they user
|
# The --disassociate-X are boolean options, but if they user
|
||||||
# mistakenly provides a value, it will be used as a positional argument
|
# 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
|
# 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
|
# with a message indicating that there is probably a problem with
|
||||||
# how the disassociate modifications are being used.
|
# how the disassociate modifications are being used.
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ class TestCase(testtools.TestCase):
|
|||||||
self.useFixture(nova_fixtures.StandardLogging())
|
self.useFixture(nova_fixtures.StandardLogging())
|
||||||
|
|
||||||
# NOTE(sdague): because of the way we were using the lock
|
# 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
|
# relying on global external locking being set up for them. We
|
||||||
# consider all of these to be *bugs*. Tests should not require
|
# consider all of these to be *bugs*. Tests should not require
|
||||||
# global external locking, or if they do, they should
|
# global external locking, or if they do, they should
|
||||||
|
|||||||
Reference in New Issue
Block a user