[Trivialfix]Fix typos in watcher

Fix the typos in watcher.

Change-Id: I3ab77e2a1f862d3790065de4a6ff6c3ef42f226d
This commit is contained in:
shangxiaobj
2017-08-31 20:47:09 -07:00
parent 50935af15f
commit 162aaa75ee
7 changed files with 8 additions and 8 deletions

View File

@@ -241,7 +241,7 @@ class BaseTaskFlowActionContainer(flow_task.Task):
action_plan = objects.ActionPlan.get_by_id(
self.engine.context, self._db_action.action_plan_id, eager=True)
# NOTE: check if revert cause by cancel action plan or
# some other exception occured during action plan execution
# some other exception occurred during action plan execution
# if due to some other exception keep the flow intact.
if action_plan.state not in CANCEL_STATE:
self.do_revert()