mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Credentials: accept empty description (#15857)
Accept empty description
This commit is contained in:
parent
e837535396
commit
567f5a2476
@ -292,8 +292,11 @@ def main():
|
||||
|
||||
if inputs:
|
||||
credential_fields['inputs'] = inputs
|
||||
if description:
|
||||
credential_fields['description'] = description
|
||||
if description is not None:
|
||||
if description == '':
|
||||
credential_fields['description'] = ''
|
||||
else:
|
||||
credential_fields['description'] = description
|
||||
if organization:
|
||||
credential_fields['organization'] = org_id
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user