mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-18 17:01:22 -07:00
Ansible: false
s being lost in network requests (#141)
This commit is contained in:
parent
5ce2906429
commit
e63c0009e4
47 changed files with 47 additions and 47 deletions
|
@ -203,7 +203,7 @@ def resource_to_request(module):
|
|||
request = {u'kind': 'sql#user', u'password': module.params.get('password'), u'host': module.params.get('host'), u'name': module.params.get('name')}
|
||||
return_vals = {}
|
||||
for k, v in request.items():
|
||||
if v or v is False:
|
||||
if v is not None:
|
||||
return_vals[k] = v
|
||||
|
||||
return return_vals
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue