[Trivialfix]Fix typos in omni
Fix the typos in omni. Change-Id: I6e7c1e53752cdf064b12f9de7642af5d138f1463
This commit is contained in:
parent
6538ef949e
commit
1aeb62b0ef
|
@ -219,7 +219,7 @@ class GceMechanismDriver(api.MechanismDriver):
|
|||
return
|
||||
except Exception as e:
|
||||
LOG.exception(
|
||||
"An error occured while creating security group: %s" % e)
|
||||
"An error occurred while creating security group: %s" % e)
|
||||
raise e
|
||||
LOG.info("Create GCE firewall rule %s" % gce_rule)
|
||||
operation = gceutils.create_firewall_rule(compute, project, gce_rule)
|
||||
|
|
|
@ -378,7 +378,7 @@ class GCEDriver(driver.ComputeDriver):
|
|||
LOG.info("Completed snapshot for instance %s" % instance.uuid)
|
||||
|
||||
except Exception as e:
|
||||
LOG.exception("An error occured during image creation: %s" % e)
|
||||
LOG.exception("An error occurred during image creation: %s" % e)
|
||||
if instance_stopped:
|
||||
operation = gceutils.start_instance(compute, project, zone,
|
||||
gce_id)
|
||||
|
|
Loading…
Reference in New Issue