Fixed indentation
At some place of code, wrong indentation is used. In this patchset, I corrected them. Change-Id: I03c7210f2fc90f97be9f09275b0998023303cd5a
This commit is contained in:
parent
5bdf06ea96
commit
65b72f2d9d
|
@ -2076,7 +2076,8 @@ class ComputeManager(manager.Manager):
|
|||
yield resources
|
||||
except Exception as exc:
|
||||
with excutils.save_and_reraise_exception() as ctxt:
|
||||
if not isinstance(exc, (exception.InstanceNotFound,
|
||||
if not isinstance(exc, (
|
||||
exception.InstanceNotFound,
|
||||
exception.UnexpectedDeletingTaskStateError)):
|
||||
LOG.exception(_LE('Instance failed to spawn'),
|
||||
instance=instance)
|
||||
|
|
|
@ -607,8 +607,7 @@ class FloatingIP(object):
|
|||
for dns_domain in domain_list:
|
||||
if (dns_domain.domain in floating_driver_domain_list or
|
||||
dns_domain.domain in instance_driver_domain_list):
|
||||
domain_entry = self._prepare_domain_entry(context,
|
||||
dns_domain)
|
||||
domain_entry = self._prepare_domain_entry(context, dns_domain)
|
||||
if domain_entry:
|
||||
domains.append(domain_entry)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue