mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Fix bug where type of node UJT was incorrectly evaluated
This commit is contained in:
parent
f5d4cbb482
commit
f2d8800c35
@ -429,7 +429,7 @@ class WorkflowJobTemplate(UnifiedJobTemplate, WorkflowJobOptions, SurveyJobTempl
|
||||
|
||||
def node_prompts_rejected(self):
|
||||
node_list = []
|
||||
for node in self.workflow_job_template_nodes.select_related('unified_job_template').all():
|
||||
for node in self.workflow_job_template_nodes.prefetch_related('unified_job_template').all():
|
||||
node_prompts_warnings = node.get_prompts_warnings()
|
||||
if node_prompts_warnings:
|
||||
node_list.append(node.pk)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user