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:
parent
29cc5d0f2e
commit
fbd27e25a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user