mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 11:57:37 -02:30
Accept empty description
This commit is contained in:
@@ -116,8 +116,11 @@ def main():
|
|||||||
}
|
}
|
||||||
if kind:
|
if kind:
|
||||||
credential_type_params['kind'] = kind
|
credential_type_params['kind'] = kind
|
||||||
if module.params.get('description'):
|
if module.params.get('description') is not None:
|
||||||
credential_type_params['description'] = module.params.get('description')
|
if module.params.get('description') == '':
|
||||||
|
credential_type_params['description'] = ''
|
||||||
|
else:
|
||||||
|
credential_type_params['description'] = module.params.get('description')
|
||||||
if module.params.get('inputs'):
|
if module.params.get('inputs'):
|
||||||
credential_type_params['inputs'] = module.params.get('inputs')
|
credential_type_params['inputs'] = module.params.get('inputs')
|
||||||
if module.params.get('injectors'):
|
if module.params.get('injectors'):
|
||||||
|
|||||||
Reference in New Issue
Block a user