Fix a few typos

a instance => an instance
intance => instance
suceed => succeed

Change-Id: Ifd322a65aab9654f2eb70629c918f87bff04a230
This commit is contained in:
Takashi NATSUME 2015-08-25 11:19:29 +09:00
parent a80e63f14c
commit 6f573aacb4
3 changed files with 4 additions and 4 deletions

View File

@ -84,8 +84,8 @@ class FloatingIpManager(object):
def associate(self, floating_ip_id, port_id):
"""Associates the floating IP to the port.
port_id is a fixed IP of a instance (Nova) or
a port_id attached to a VNIC of a instance.
port_id is a fixed IP of an instance (Nova) or
a port_id attached to a VNIC of an instance.
"""
pass

View File

@ -112,7 +112,7 @@ class MigrateHostViewTest(test.BaseAdminViewTests):
'admin/hypervisors/compute/migrate_host.html')
@test.create_stubs({api.nova: ('migrate_host',)})
def test_maintenance_host_cold_migration_suceed(self):
def test_maintenance_host_cold_migration_succeed(self):
disabled_services = [service for service in self.services.list()
if service.binary == 'nova-compute'
and service.status == 'disabled']

View File

@ -473,7 +473,7 @@ class NetworkApiNeutronSecurityGroupTests(NetworkApiNeutronTestBase):
instance_port = [p for p in self.api_ports.list()
if p['device_owner'].startswith('compute:')][0]
instance_id = instance_port['device_id']
# Emulate an intance with two ports
# Emulate an instance with two ports
instance_ports = []
for _i in range(2):
p = copy.deepcopy(instance_port)