mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Pop the type to be consistent
This commit is contained in:
parent
07474d5b21
commit
c1a8d8670f
@ -723,7 +723,7 @@ class CredentialTypeInputField(JSONSchemaField):
|
||||
params={'value': value},
|
||||
)
|
||||
else:
|
||||
field['type'] = 'string'
|
||||
field.pop('type')
|
||||
field['choices'] = CHOICES_PRIVILEGE_ESCALATION_METHODS
|
||||
|
||||
for key in ('choices', 'multiline', 'format', 'secret',):
|
||||
|
Loading…
Reference in New Issue
Block a user