mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Credentials: accept empty description (#15857)
Accept empty description
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user