mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 03:45:01 -02:30
Updated JT project-related error message
Signed-off-by: Geoff Humphreys <humphreys.geoff@gmail.com>
This commit is contained in:
@@ -315,7 +315,7 @@ class JobTemplate(UnifiedJobTemplate, JobOptions, SurveyJobTemplateMixin, Resour
|
||||
if self.inventory is None and not self.ask_inventory_on_launch:
|
||||
validation_errors['inventory'] = [_("Job Template must provide 'inventory' or allow prompting for it."),]
|
||||
if self.project is None:
|
||||
validation_errors['project'] = [_("Job types 'run' and 'check' must have assigned a project."),]
|
||||
validation_errors['project'] = [_("Job Templates must have a project assigned."),]
|
||||
return validation_errors
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user