Fixed tense consistency (used past) in statuses
In several places in Watcher, there are statuses which corresponds to a status in the respective life cycle. There were used past tense everywhere, except "SUCCESS" which was written in present tense. So I searched for all the occurences of this state, and replaced them with their past tense form. Change-Id: Ic41def96d1a608da06a1e394e24704d4f06ab32a Closes-Bug: #1520276
This commit is contained in:
@@ -64,7 +64,7 @@ class CommandExecutor(object):
|
||||
return False
|
||||
else:
|
||||
self.deploy.populate(primitive)
|
||||
self.notify(action, Status.SUCCESS)
|
||||
self.notify(action, Status.SUCCEEDED)
|
||||
except Exception as e:
|
||||
LOG.debug(
|
||||
'The applier module failed to execute the action{0} with '
|
||||
|
||||
@@ -59,7 +59,7 @@ class LaunchActionPlanCommand(ApplierCommand):
|
||||
LOG.error("Launch Action Plan " + unicode(e))
|
||||
finally:
|
||||
if result is True:
|
||||
status = Status.SUCCESS
|
||||
status = Status.SUCCEEDED
|
||||
else:
|
||||
status = Status.FAILED
|
||||
# update state
|
||||
|
||||
Reference in New Issue
Block a user