fix prompts contradiction: should be non-functional change

This commit is contained in:
AlanCoding
2018-11-15 13:43:23 -05:00
committed by Jake McDermott
parent 018a8e12de
commit bca9bcf6dd
2 changed files with 2 additions and 4 deletions

View File

@@ -4458,9 +4458,7 @@ class WorkflowJobLaunchSerializer(BaseSerializer):
def validate(self, attrs):
template = self.instance
accepted, rejected, errors = template._accept_or_ignore_job_kwargs(
_exclude_errors=['required'],
**attrs)
accepted, rejected, errors = template._accept_or_ignore_job_kwargs(**attrs)
self._ignored_fields = rejected
if template.inventory and template.inventory.pending_deletion is True: