mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 13:27:40 -02:30
Fix validation error grammar
This commit is contained in:
@@ -142,7 +142,7 @@ class ProjectOptions(models.Model):
|
|||||||
cred = self.credential
|
cred = self.credential
|
||||||
if cred:
|
if cred:
|
||||||
if cred.kind != 'scm':
|
if cred.kind != 'scm':
|
||||||
raise ValidationError(_("Credential kind must be either 'scm'."))
|
raise ValidationError(_("Credential kind must be 'scm'."))
|
||||||
try:
|
try:
|
||||||
if self.scm_type == 'insights':
|
if self.scm_type == 'insights':
|
||||||
self.scm_url = settings.INSIGHTS_URL_BASE
|
self.scm_url = settings.INSIGHTS_URL_BASE
|
||||||
|
|||||||
Reference in New Issue
Block a user