1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

mark a workflow convergence error message for i18n

This commit is contained in:
Ryan Petrello 2019-02-14 15:55:20 -05:00
parent 456ef49ee3
commit 4f83d44142
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -186,7 +186,7 @@ class TaskManager():
workflow_job.status = new_status
if reason:
logger.info(reason)
workflow_job.job_explanation = "No error handling paths found, marking workflow as failed"
workflow_job.job_explanation = _("No error handling paths found, marking workflow as failed")
update_fields.append('job_explanation')
workflow_job.start_args = '' # blank field to remove encrypted passwords
workflow_job.save(update_fields=update_fields)