Correct error messages on update action execution form

When update action execution fails,
two prompt messages are displayed,
one successful and one fails.

This patch Correct error messages

Change-Id: I7001106d804e893e10726695956c9db519fa22f8
This commit is contained in:
pengyuesheng 2019-06-03 09:47:26 +08:00
parent 1baa073379
commit f154594d0e

View File

@ -375,7 +375,6 @@ def action_execution_delete(request, action_execution_id):
return mistralclient(request).action_executions.delete(action_execution_id)
@handle_errors(_("Unable to update action execution"), [])
def action_execution_update(request, id, state=None, output=None):
"""Update action execution output and or state.