mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 16:58:46 -03:30
add a period
This commit is contained in:
@@ -2379,7 +2379,7 @@ class WorkflowJobTemplateNodeSerializer(WorkflowNodeBaseSerializer):
|
|||||||
if self.instance is None and ('workflow_job_template' not in attrs or
|
if self.instance is None and ('workflow_job_template' not in attrs or
|
||||||
attrs['workflow_job_template'] is None):
|
attrs['workflow_job_template'] is None):
|
||||||
raise serializers.ValidationError({
|
raise serializers.ValidationError({
|
||||||
"workflow_job_template": _("Workflow job template is missing during creation")
|
"workflow_job_template": _("Workflow job template is missing during creation.")
|
||||||
})
|
})
|
||||||
ujt_obj = attrs.get('unified_job_template', None)
|
ujt_obj = attrs.get('unified_job_template', None)
|
||||||
if isinstance(ujt_obj, (WorkflowJobTemplate, SystemJobTemplate)):
|
if isinstance(ujt_obj, (WorkflowJobTemplate, SystemJobTemplate)):
|
||||||
|
|||||||
Reference in New Issue
Block a user