mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Accept empty description
This commit is contained in:
parent
182e5cfaa4
commit
7676f14114
@ -116,8 +116,11 @@ def main():
|
||||
}
|
||||
if kind:
|
||||
credential_type_params['kind'] = kind
|
||||
if module.params.get('description'):
|
||||
credential_type_params['description'] = module.params.get('description')
|
||||
if module.params.get('description') is not None:
|
||||
if module.params.get('description') == '':
|
||||
credential_type_params['description'] = ''
|
||||
else:
|
||||
credential_type_params['description'] = module.params.get('description')
|
||||
if module.params.get('inputs'):
|
||||
credential_type_params['inputs'] = module.params.get('inputs')
|
||||
if module.params.get('injectors'):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user