mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
do not copy WFJT labels in 3.1
This commit is contained in:
@@ -366,7 +366,9 @@ class WorkflowJobTemplate(UnifiedJobTemplate, WorkflowJobOptions, SurveyJobTempl
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _get_unified_jt_copy_names(cls):
|
def _get_unified_jt_copy_names(cls):
|
||||||
return (super(WorkflowJobTemplate, cls)._get_unified_jt_copy_names() +
|
base_list = super(WorkflowJobTemplate, cls)._get_unified_jt_copy_names()
|
||||||
|
base_list.remove('labels')
|
||||||
|
return (base_list +
|
||||||
['survey_spec', 'survey_enabled', 'organization'])
|
['survey_spec', 'survey_enabled', 'organization'])
|
||||||
|
|
||||||
def get_absolute_url(self):
|
def get_absolute_url(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user