mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 13:11:19 -03:30
Fix validation error grammar
This commit is contained in:
parent
ed5a01c0cf
commit
50ccd1b003
@ -142,7 +142,7 @@ class ProjectOptions(models.Model):
|
||||
cred = self.credential
|
||||
if cred:
|
||||
if cred.kind != 'scm':
|
||||
raise ValidationError(_("Credential kind must be either 'scm'."))
|
||||
raise ValidationError(_("Credential kind must be 'scm'."))
|
||||
try:
|
||||
if self.scm_type == 'insights':
|
||||
self.scm_url = settings.INSIGHTS_URL_BASE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user