From 5ef2f3c3d0dbd211c1c2075d6278ead373fe0007 Mon Sep 17 00:00:00 2001 From: Alex Szarka Date: Tue, 12 Jul 2016 17:13:52 +0200 Subject: [PATCH] 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 --- nova/api/metadata/base.py | 2 +- nova/api/openstack/compute/schemas/cells.py | 2 +- nova/cells/messaging.py | 2 +- nova/cmd/manage.py | 2 +- nova/test.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nova/api/metadata/base.py b/nova/api/metadata/base.py index 4b9bba86fb0f..058104b6098b 100644 --- a/nova/api/metadata/base.py +++ b/nova/api/metadata/base.py @@ -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: diff --git a/nova/api/openstack/compute/schemas/cells.py b/nova/api/openstack/compute/schemas/cells.py index 1115aeaf7cc7..f0d52f6792b6 100644 --- a/nova/api/openstack/compute/schemas/cells.py +++ b/nova/api/openstack/compute/schemas/cells.py @@ -33,7 +33,7 @@ create = { # following parameters: # "qpid://:@:/" # or - # "rabiit://:@:/" + # "rabbit://:@:/" # Then the url is stored into transport_url of cells table # which is defined with String(255). 'username': { diff --git a/nova/cells/messaging.py b/nova/cells/messaging.py index 949e9401a788..df85fa174c0f 100644 --- a/nova/cells/messaging.py +++ b/nova/cells/messaging.py @@ -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() diff --git a/nova/cmd/manage.py b/nova/cmd/manage.py index 0fea7d685c0f..2d19ec264f10 100644 --- a/nova/cmd/manage.py +++ b/nova/cmd/manage.py @@ -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. diff --git a/nova/test.py b/nova/test.py index 8ef301682b44..1fab8420666e 100644 --- a/nova/test.py +++ b/nova/test.py @@ -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