mirror of
https://github.com/ansible/awx.git
synced 2026-04-18 16:30:21 -02:30
Removed the special-case logic for maintaining the schema of the become_method field
related #2630 Signed-off-by: Jeff Bradberry <jeff.bradberry@gmail.com>
This commit is contained in:
@@ -2496,8 +2496,6 @@ class CredentialTypeSerializer(BaseSerializer):
|
||||
field['label'] = _(field['label'])
|
||||
if 'help_text' in field:
|
||||
field['help_text'] = _(field['help_text'])
|
||||
if field['type'] == 'become_method':
|
||||
field['type'] = 'string'
|
||||
return value
|
||||
|
||||
def filter_field_metadata(self, fields, method):
|
||||
|
||||
Reference in New Issue
Block a user