mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
Pop the type to be consistent
This commit is contained in:
@@ -723,7 +723,7 @@ class CredentialTypeInputField(JSONSchemaField):
|
|||||||
params={'value': value},
|
params={'value': value},
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
field['type'] = 'string'
|
field.pop('type')
|
||||||
field['choices'] = CHOICES_PRIVILEGE_ESCALATION_METHODS
|
field['choices'] = CHOICES_PRIVILEGE_ESCALATION_METHODS
|
||||||
|
|
||||||
for key in ('choices', 'multiline', 'format', 'secret',):
|
for key in ('choices', 'multiline', 'format', 'secret',):
|
||||||
|
|||||||
Reference in New Issue
Block a user