mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 11:27:36 -02:30
Restore previous choices, clean up some minor things
This commit is contained in:
@@ -714,7 +714,7 @@ class CredentialTypeInputField(JSONSchemaField):
|
||||
if field['type'] == 'become_method':
|
||||
if not model_instance.managed_by_tower:
|
||||
raise django_exceptions.ValidationError(
|
||||
_('{0} is a reserved type name'.format(field['type'])),
|
||||
_('become_method is a reserved type name'),
|
||||
code='invalid',
|
||||
params={'value': value},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user