mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-06 10:50:28 -07:00
fix: gcp_cloudtasks_queue
gcp_cloudtasks_queue was sending a "location" field in the payload, when the resource did not have such a field. Removing it fixes the tests.
This commit is contained in:
parent
d3a7287c37
commit
0e9f2a74b1
2 changed files with 1 additions and 3 deletions
|
@ -489,7 +489,6 @@ def delete(module, link):
|
||||||
|
|
||||||
def resource_to_request(module):
|
def resource_to_request(module):
|
||||||
request = {
|
request = {
|
||||||
u'location': module.params.get('location'),
|
|
||||||
u'name': name_pattern(module.params.get('name'), module),
|
u'name': name_pattern(module.params.get('name'), module),
|
||||||
u'appEngineRoutingOverride': QueueAppengineroutingoverride(module.params.get('app_engine_routing_override', {}), module).to_request(),
|
u'appEngineRoutingOverride': QueueAppengineroutingoverride(module.params.get('app_engine_routing_override', {}), module).to_request(),
|
||||||
u'rateLimits': QueueRatelimits(module.params.get('rate_limits', {}), module).to_request(),
|
u'rateLimits': QueueRatelimits(module.params.get('rate_limits', {}), module).to_request(),
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
cloud/gcp
|
cloud/gcp
|
||||||
unsupported
|
|
Loading…
Add table
Reference in a new issue