Fix some typos in trove/instance/models.py
Fix some typos in class Instance, method save_configuration. Change-Id: I5a8bac64d9165b342536acd0c66abd483aea3379
This commit is contained in:
parent
249ec84f2e
commit
2d7f6cb1ff
|
@ -1313,7 +1313,7 @@ class Instance(BuiltInstance):
|
|||
overrides = configuration.get_configuration_overrides()
|
||||
|
||||
# Always put the instance into RESTART_REQUIRED state after
|
||||
# configuration update. The sate may be released only once (and if)
|
||||
# configuration update. The state may be released only once (and if)
|
||||
# the configuration is successfully applied.
|
||||
# This ensures that the instance will always be in a consistent state
|
||||
# even if the apply never executes or fails.
|
||||
|
@ -1321,9 +1321,9 @@ class Instance(BuiltInstance):
|
|||
self.guest.update_overrides(overrides)
|
||||
LOG.debug("Configuration has been persisted on the guest.")
|
||||
|
||||
# Configuration has now been persisted on the instance an can be safely
|
||||
# detached. Update our records to reflect this change irrespective of
|
||||
# results of any further operations.
|
||||
# Configuration has now been persisted on the instance and can be
|
||||
# safely attached. Update our records to reflect this change
|
||||
# irrespective of results of any further operations.
|
||||
self.update_db(task_status=InstanceTasks.RESTART_REQUIRED,
|
||||
configuration_id=configuration.configuration_id)
|
||||
|
||||
|
|
Loading…
Reference in New Issue