Skip to content

Commit 6496cb0

Browse files
Reran more fixtures and fixed caching issues
1 parent 18308db commit 6496cb0

File tree

114 files changed

+1318
-462
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+1318
-462
lines changed

kernels.go

+8
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,18 @@ func (c *Client) ListKernels(ctx context.Context, opts *ListOptions) ([]LinodeKe
6565
// GetKernel gets the kernel with the provided ID. This endpoint is cached by default.
6666
func (c *Client) GetKernel(ctx context.Context, kernelID string) (*LinodeKernel, error) {
6767
e := formatAPIPath("linode/kernels/%s", kernelID)
68+
69+
if result := c.getCachedResponse(e); result != nil {
70+
result := result.(LinodeKernel)
71+
return &result, nil
72+
}
73+
6874
response, err := doGETRequest[LinodeKernel](ctx, c, e)
6975
if err != nil {
7076
return nil, err
7177
}
7278

79+
c.addCachedResponse(e, response, nil)
80+
7381
return response, nil
7482
}

regions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (c *Client) ListRegions(ctx context.Context, opts *ListOptions) ([]Region,
8686
return nil, err
8787
}
8888

89-
c.addCachedResponse(endpoint, response, nil)
89+
c.addCachedResponse(endpoint, response, &cacheExpiryTime)
9090

9191
return response, nil
9292
}

test/integration/cache_test.go

+2-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ func TestCache_RegionList(t *testing.T) {
2828
totalRequests := int64(0)
2929

3030
client.OnBeforeRequest(func(request *linodego.Request) error {
31-
if !strings.Contains(request.URL, "regions") {
32-
return nil
33-
}
34-
35-
if request.QueryParam.Has("page") {
31+
page := request.QueryParam.Get("page")
32+
if !strings.Contains(request.URL, "regions") || page != "1" {
3633
return nil
3734
}
3835

test/integration/fixtures/TestAccountEvents_List.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
- application/json
1212
User-Agent:
1313
- linodego/dev https://github.com/linode/linodego
14-
url: https://api.linode.com/v4beta/regions
14+
url: https://api.linode.com/v4beta/regions?page=1
1515
method: GET
1616
response:
1717
body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities":

test/integration/fixtures/TestCache_RegionList.yaml

+1,060-208
Large diffs are not rendered by default.

test/integration/fixtures/TestDatabase_List.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
- application/json
1212
User-Agent:
1313
- linodego/dev https://github.com/linode/linodego
14-
url: https://api.linode.com/v4beta/regions
14+
url: https://api.linode.com/v4beta/regions?page=1
1515
method: GET
1616
response:
1717
body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities":

test/integration/fixtures/TestDatabase_MySQL_Suite.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
- application/json
1212
User-Agent:
1313
- linodego/dev https://github.com/linode/linodego
14-
url: https://api.linode.com/v4beta/regions
14+
url: https://api.linode.com/v4beta/regions?page=1
1515
method: GET
1616
response:
1717
body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities":

test/integration/fixtures/TestDatabase_Postgres_Suite.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
- application/json
1212
User-Agent:
1313
- linodego/dev https://github.com/linode/linodego
14-
url: https://api.linode.com/v4beta/regions
14+
url: https://api.linode.com/v4beta/regions?page=1
1515
method: GET
1616
response:
1717
body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities":

test/integration/fixtures/TestEventPoller_InstancePower.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
- application/json
1212
User-Agent:
1313
- linodego/dev https://github.com/linode/linodego
14-
url: https://api.linode.com/v4beta/regions
14+
url: https://api.linode.com/v4beta/regions?page=1
1515
method: GET
1616
response:
1717
body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities":

test/integration/fixtures/TestEventPoller_Secondary.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
- application/json
1212
User-Agent:
1313
- linodego/dev https://github.com/linode/linodego
14-
url: https://api.linode.com/v4beta/regions
14+
url: https://api.linode.com/v4beta/regions?page=1
1515
method: GET
1616
response:
1717
body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities":

test/integration/fixtures/TestFirewallDevice_Delete.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
- application/json
1212
User-Agent:
1313
- linodego/dev https://github.com/linode/linodego
14-
url: https://api.linode.com/v4beta/regions
14+
url: https://api.linode.com/v4beta/regions?page=1
1515
method: GET
1616
response:
1717
body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities":

test/integration/fixtures/TestFirewallDevice_Get.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
- application/json
1212
User-Agent:
1313
- linodego/dev https://github.com/linode/linodego
14-
url: https://api.linode.com/v4beta/regions
14+
url: https://api.linode.com/v4beta/regions?page=1
1515
method: GET
1616
response:
1717
body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities":

test/integration/fixtures/TestFirewallDevices_List.yaml

+52-51
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
- application/json
1212
User-Agent:
1313
- linodego/dev https://github.com/linode/linodego
14-
url: https://api.linode.com/v4beta/regions
14+
url: https://api.linode.com/v4beta/regions?page=1
1515
method: GET
1616
response:
1717
body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities":
@@ -47,9 +47,9 @@ interactions:
4747
"core"}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities":
4848
["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes",
4949
"Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium
50-
Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60,
51-
139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69,
52-
139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678,
50+
Plans", "Placement Group"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62,
51+
139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67,
52+
139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678,
5353
1234::5678, 1234::5678, 1234::5678,
5454
1234::5678, 1234::5678, 1234::5678,
5555
1234::5678, 1234::5678, 1234::5678"},
@@ -185,18 +185,18 @@ interactions:
185185
1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer":
186186
100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label":
187187
"London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers",
188-
"Block Storage", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"],
189-
"status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, 172.236.0.47,
190-
172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, 172.236.0.54,
191-
172.236.0.48", "ipv6": "1234::5678, 1234::5678,
188+
"Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata",
189+
"Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50,
190+
172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51,
191+
172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678,
192192
1234::5678, 1234::5678, 1234::5678,
193193
1234::5678, 1234::5678, 1234::5678,
194194
1234::5678, 1234::5678"}, "placement_group_limits":
195195
{"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type":
196196
"core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities":
197-
["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans",
198-
"VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4":
199-
"172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32,
197+
["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud
198+
Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers":
199+
{"ipv4": "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32,
200200
172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34",
201201
"ipv6": "1234::5678, 1234::5678, 1234::5678,
202202
1234::5678, 1234::5678, 1234::5678,
@@ -205,29 +205,30 @@ interactions:
205205
100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central",
206206
"label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups",
207207
"NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block
208-
Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers":
209-
{"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5,
210-
96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6":
211-
"1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678,
212-
1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits":
208+
Storage Migrations", "Managed Databases", "Metadata", "Placement Group"], "status":
209+
"ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5,
210+
96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5",
211+
"ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678,
212+
1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits":
213213
{"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type":
214214
"core"}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities":
215215
["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud
216-
Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"],
217-
"status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5,
218-
173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5,
219-
74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678,
220-
1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"},
221-
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
222-
5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA", "country":
223-
"us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage",
224-
"Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block
225-
Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers":
226-
{"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5,
227-
66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678,
216+
Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata",
217+
"Placement Group"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5,
218+
173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5,
219+
74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678,
220+
1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678,
221+
1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100,
222+
"maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-southeast", "label":
223+
"Atlanta, GA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers",
224+
"Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall",
225+
"Vlans", "Block Storage Migrations", "Managed Databases", "Metadata", "Placement
226+
Group"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5,
227+
173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5,
228+
50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678,
228229
1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678,
229-
1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer":
230-
100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-east", "label":
230+
1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100,
231+
"maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-east", "label":
231232
"Newark, NJ", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers",
232233
"Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall",
233234
"Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status":
@@ -291,7 +292,7 @@ interactions:
291292
Content-Type:
292293
- application/json
293294
Expires:
294-
- Tue, 25 Jun 2024 14:30:21 GMT
295+
- Tue, 09 Jul 2024 14:03:15 GMT
295296
Pragma:
296297
- no-cache
297298
Strict-Transport-Security:
@@ -317,7 +318,7 @@ interactions:
317318
code: 200
318319
duration: ""
319320
- request:
320-
body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-1i81hyqs74e9","root_pass":"cpZ]$y7\\9jdV-tp\u003cq!835!skdi`(bFF;)24]~ENY[Q18L.KY7b4Y9ROK5^Ms67b5","image":"linode/debian9","booted":false}'
321+
body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-94d04ye91yrv","root_pass":"Rmqf7]uxh]\u003e\u0026i2Gj8b7.1T55]0,h:!TIM6s''1#0YABO6y.j-6BWMM7\u003egmA;]m5G2","image":"linode/debian9","booted":false}'
321322
form: {}
322323
headers:
323324
Accept:
@@ -329,15 +330,15 @@ interactions:
329330
url: https://api.linode.com/v4beta/linode/instances
330331
method: POST
331332
response:
332-
body: '{"id": 60622696, "label": "go-test-ins-1i81hyqs74e9", "group": "", "status":
333+
body: '{"id": 61223345, "label": "go-test-ins-94d04ye91yrv", "group": "", "status":
333334
"provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
334-
"type": "g6-nanode-1", "ipv4": ["45.79.124.202"], "ipv6": "1234::5678/128",
335+
"type": "g6-nanode-1", "ipv4": ["192.46.208.204"], "ipv6": "1234::5678/128",
335336
"image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory":
336337
1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in":
337338
10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled":
338339
true, "available": false, "schedule": {"day": null, "window": null}, "last_successful":
339340
null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid":
340-
"64f3e61b2e736f99ca5f41dd36bbc57071b08d42", "has_user_data": false, "placement_group":
341+
"99ce0c19fb02826bdc0388b5a88348a96c3ec62e", "has_user_data": false, "placement_group":
341342
null, "lke_cluster_id": null}'
342343
headers:
343344
Access-Control-Allow-Credentials:
@@ -355,13 +356,13 @@ interactions:
355356
Connection:
356357
- keep-alive
357358
Content-Length:
358-
- "789"
359+
- "790"
359360
Content-Security-Policy:
360361
- default-src 'none'
361362
Content-Type:
362363
- application/json
363364
Expires:
364-
- Tue, 25 Jun 2024 14:30:22 GMT
365+
- Tue, 09 Jul 2024 14:03:15 GMT
365366
Pragma:
366367
- no-cache
367368
Strict-Transport-Security:
@@ -385,7 +386,7 @@ interactions:
385386
code: 200
386387
duration: ""
387388
- request:
388-
body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{"linodes":[60622696]}}'
389+
body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{"linodes":[61223345]}}'
389390
form: {}
390391
headers:
391392
Accept:
@@ -397,15 +398,15 @@ interactions:
397398
url: https://api.linode.com/v4beta/networking/firewalls
398399
method: POST
399400
response:
400-
body: '{"id": 600030, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
401+
body: '{"id": 643938, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
401402
"updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound":
402403
[{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol":
403404
"TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy":
404405
"ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports":
405406
"22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}],
406407
"outbound_policy": "ACCEPT", "version": 1, "fingerprint": "7bcc0f03"}, "tags":
407-
["testing"], "entities": [{"id": 60622696, "type": "linode", "label": "go-test-ins-1i81hyqs74e9",
408-
"url": "/v4/linode/instances/60622696"}]}'
408+
["testing"], "entities": [{"id": 61223345, "type": "linode", "label": "go-test-ins-94d04ye91yrv",
409+
"url": "/v4/linode/instances/61223345"}]}'
409410
headers:
410411
Access-Control-Allow-Credentials:
411412
- "true"
@@ -428,7 +429,7 @@ interactions:
428429
Content-Type:
429430
- application/json
430431
Expires:
431-
- Tue, 25 Jun 2024 14:30:22 GMT
432+
- Tue, 09 Jul 2024 14:03:15 GMT
432433
Pragma:
433434
- no-cache
434435
Strict-Transport-Security:
@@ -461,12 +462,12 @@ interactions:
461462
- application/json
462463
User-Agent:
463464
- linodego/dev https://github.com/linode/linodego
464-
url: https://api.linode.com/v4beta/networking/firewalls/600030/devices?page=1
465+
url: https://api.linode.com/v4beta/networking/firewalls/643938/devices?page=1
465466
method: GET
466467
response:
467-
body: '{"data": [{"id": 1297444, "created": "2018-01-02T03:04:05", "updated":
468-
"2018-01-02T03:04:05", "entity": {"id": 60622696, "type": "linode", "label":
469-
"go-test-ins-1i81hyqs74e9", "url": "/v4/linode/instances/60622696"}}], "page":
468+
body: '{"data": [{"id": 1369628, "created": "2018-01-02T03:04:05", "updated":
469+
"2018-01-02T03:04:05", "entity": {"id": 61223345, "type": "linode", "label":
470+
"go-test-ins-94d04ye91yrv", "url": "/v4/linode/instances/61223345"}}], "page":
470471
1, "pages": 1, "results": 1}'
471472
headers:
472473
Access-Control-Allow-Credentials:
@@ -490,7 +491,7 @@ interactions:
490491
Content-Type:
491492
- application/json
492493
Expires:
493-
- Tue, 25 Jun 2024 14:30:22 GMT
494+
- Tue, 09 Jul 2024 14:03:16 GMT
494495
Pragma:
495496
- no-cache
496497
Strict-Transport-Security:
@@ -524,7 +525,7 @@ interactions:
524525
- application/json
525526
User-Agent:
526527
- linodego/dev https://github.com/linode/linodego
527-
url: https://api.linode.com/v4beta/networking/firewalls/600030
528+
url: https://api.linode.com/v4beta/networking/firewalls/643938
528529
method: DELETE
529530
response:
530531
body: '{}'
@@ -550,7 +551,7 @@ interactions:
550551
Content-Type:
551552
- application/json
552553
Expires:
553-
- Tue, 25 Jun 2024 14:30:23 GMT
554+
- Tue, 09 Jul 2024 14:03:16 GMT
554555
Pragma:
555556
- no-cache
556557
Strict-Transport-Security:
@@ -583,7 +584,7 @@ interactions:
583584
- application/json
584585
User-Agent:
585586
- linodego/dev https://github.com/linode/linodego
586-
url: https://api.linode.com/v4beta/linode/instances/60622696
587+
url: https://api.linode.com/v4beta/linode/instances/61223345
587588
method: DELETE
588589
response:
589590
body: '{}'
@@ -609,7 +610,7 @@ interactions:
609610
Content-Type:
610611
- application/json
611612
Expires:
612-
- Tue, 25 Jun 2024 14:30:23 GMT
613+
- Tue, 09 Jul 2024 14:03:16 GMT
613614
Pragma:
614615
- no-cache
615616
Strict-Transport-Security:

test/integration/fixtures/TestIPAddress_GetFound.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
- application/json
1212
User-Agent:
1313
- linodego/dev https://github.com/linode/linodego
14-
url: https://api.linode.com/v4beta/regions
14+
url: https://api.linode.com/v4beta/regions?page=1
1515
method: GET
1616
response:
1717
body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities":

test/integration/fixtures/TestIPAddress_Instance_Assign.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
- application/json
1212
User-Agent:
1313
- linodego/dev https://github.com/linode/linodego
14-
url: https://api.linode.com/v4beta/regions
14+
url: https://api.linode.com/v4beta/regions?page=1
1515
method: GET
1616
response:
1717
body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities":

test/integration/fixtures/TestIPAddress_Instance_Delete.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
- application/json
1212
User-Agent:
1313
- linodego/dev https://github.com/linode/linodego
14-
url: https://api.linode.com/v4beta/regions
14+
url: https://api.linode.com/v4beta/regions?page=1
1515
method: GET
1616
response:
1717
body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities":

0 commit comments

Comments
 (0)