Merge "Cancel Action Plan"

This commit is contained in:
Jenkins
2017-06-07 14:09:32 +00:00
committed by Gerrit Code Review
16 changed files with 362 additions and 28 deletions

View File

@@ -274,6 +274,10 @@ class ActionPlanReferenced(Invalid):
"multiple actions")
class ActionPlanCancelled(WatcherException):
msg_fmt = _("Action Plan with UUID %(uuid)s is cancelled by user")
class ActionPlanIsOngoing(Conflict):
msg_fmt = _("Action Plan %(action_plan)s is currently running.")