Fix a few typos
a instance => an instance intance => instance suceed => succeed Change-Id: Ifd322a65aab9654f2eb70629c918f87bff04a230
This commit is contained in:
parent
a80e63f14c
commit
6f573aacb4
@ -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
|
||||
|
||||
|
@ -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']
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user