mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
Credentials: accept empty description (#15857)
Accept empty description
This commit is contained in:
@@ -292,8 +292,11 @@ def main():
|
|||||||
|
|
||||||
if inputs:
|
if inputs:
|
||||||
credential_fields['inputs'] = inputs
|
credential_fields['inputs'] = inputs
|
||||||
if description:
|
if description is not None:
|
||||||
credential_fields['description'] = description
|
if description == '':
|
||||||
|
credential_fields['description'] = ''
|
||||||
|
else:
|
||||||
|
credential_fields['description'] = description
|
||||||
if organization:
|
if organization:
|
||||||
credential_fields['organization'] = org_id
|
credential_fields['organization'] = org_id
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user