mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-06 10:50:28 -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
|
diff = None
|
||||||
# If a None is found, a difference does not exist.
|
# If a None is found, a difference does not exist.
|
||||||
# Only differing values matter.
|
# Only differing values matter.
|
||||||
if not resp_value:
|
if not resp_value or resp_value == "None":
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# Can assume non-None types at this point.
|
# Can assume non-None types at this point.
|
||||||
|
|
Loading…
Add table
Reference in a new issue