mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-05 10:20:26 -07:00
Merge pull request #411 from zachzoref/patch-1
fix 'str' object has no attribute 'get'
This commit is contained in:
commit
516dc45bce
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ class GcpRequest(object):
|
|||
diff = None
|
||||
# If a None is found, a difference does not exist.
|
||||
# Only differing values matter.
|
||||
if not resp_value:
|
||||
if not resp_value or resp_value == "None":
|
||||
return None
|
||||
|
||||
# Can assume non-None types at this point.
|
||||
|
|
Loading…
Add table
Reference in a new issue