Enable edition of job actions
The ui is now able to add/remove/change order of actions in a job Closes-bug: 1570305 Change-Id: I416000e6a45900a77069b6bad857d759f3b3bb61
This commit is contained in:
parent
c7d2cc670a
commit
6ec918bc63
|
@ -58,7 +58,8 @@ class UpdateActions(workflows.Workflow):
|
|||
def handle(self, request, context):
|
||||
try:
|
||||
if context['job_id'] != '':
|
||||
freezer_api.Job(request).update(context['job_id'], context)
|
||||
freezer_api.Job(request).update_actions(context['job_id'],
|
||||
context['actions'])
|
||||
return shortcuts.redirect('horizon:disaster_recovery:jobs:index')
|
||||
except Exception:
|
||||
exceptions.handle(request)
|
||||
|
|
Loading…
Reference in New Issue