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

Fix scan job relaunch bug

This commit is contained in:
Alan Rominger 2016-11-28 16:55:11 -05:00 committed by GitHub
parent 29cc5d0f2e
commit fbd27e25a6

View File

@ -675,7 +675,7 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
fields = unified_jt_class._get_unified_job_field_names() + [parent_field_name]
unified_job = copy_model_by_class(self, unified_job_class, fields, {})
unified_job.job_type = 'relaunch'
unified_job.launch_type = 'relaunch'
unified_job.save()
# Labels coppied here