Skip to content

Commit a14c349

Browse files
chore: bump sdk (#2304)
Co-authored-by: Rémy Léone <[email protected]>
1 parent 709093a commit a14c349

12 files changed

+1272
-994
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
github.com/kubernetes-client/go-base v0.0.0-20190205182333-3d0e39759d98
1818
github.com/mattn/go-colorable v0.1.12
1919
github.com/mattn/go-isatty v0.0.14
20-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220425121900-20ed4de943e7
20+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220502090544-800c7ecb1380
2121
github.com/spf13/cobra v1.4.0
2222
github.com/spf13/pflag v1.0.5
2323
github.com/stretchr/testify v1.7.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
5757
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
5858
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
5959
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
60-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220425121900-20ed4de943e7 h1:b6jogEVn0MhYYjQ537a1F898df4esAJOlGhxWxyJ1xM=
61-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220425121900-20ed4de943e7/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
60+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220502090544-800c7ecb1380 h1:vNbMx6iZJb8Z1aUUAK81nWVFkk0yn7XkRrsi+u+LZvQ=
61+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220502090544-800c7ecb1380/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
6262
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
6363
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
6464
github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q=

internal/namespaces/rdb/v1/testdata/test-clone-instance-simple.cassette.yaml

Lines changed: 181 additions & 181 deletions
Large diffs are not rendered by default.

internal/namespaces/rdb/v1/testdata/test-clone-instance-simple.golden

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
🟩🟩🟩 STDOUT️ 🟩🟩🟩️
33
CreatedAt few seconds ago
44
Region fr-par
5-
ID 3bdf44a5-d2c4-4d1a-9739-382fb13cdb6a
5+
ID 1221fbbf-b6b8-48ba-a337-f9df98c8e2a6
66
Name foobar
77
OrganizationID 951df375-e094-4d26-97c1-ba548eeb9c42
88
ProjectID 951df375-e094-4d26-97c1-ba548eeb9c42
99
Status ready
1010
Engine PostgreSQL-12
1111
IsHaCluster false
1212
NodeType db-dev-m
13-
Endpoints.0.ID 797ff9f1-4b4a-401d-a187-25e97a485044
14-
Endpoints.0.IP 195.154.70.55
15-
Endpoints.0.Port 47358
13+
Endpoints.0.ID 389a42f1-9e27-49f6-8a54-73ffa3a80f03
14+
Endpoints.0.IP 51.159.112.132
15+
Endpoints.0.Port 10606
1616
LogsPolicy.MaxAgeRetention 30
1717
BackupSameRegion false
1818

1919
Endpoint:
20-
ID 797ff9f1-4b4a-401d-a187-25e97a485044
21-
IP 195.154.70.55
22-
Port 47358
20+
ID 389a42f1-9e27-49f6-8a54-73ffa3a80f03
21+
IP 51.159.112.132
22+
Port 10606
2323

2424
Volume:
2525
Type lssd
@@ -46,16 +46,16 @@ max_parallel_workers_per_gather 0
4646
"size": 25000000000
4747
},
4848
"region": "fr-par",
49-
"id": "3bdf44a5-d2c4-4d1a-9739-382fb13cdb6a",
49+
"id": "1221fbbf-b6b8-48ba-a337-f9df98c8e2a6",
5050
"name": "foobar",
5151
"organization_id": "951df375-e094-4d26-97c1-ba548eeb9c42",
5252
"project_id": "951df375-e094-4d26-97c1-ba548eeb9c42",
5353
"status": "ready",
5454
"engine": "PostgreSQL-12",
5555
"endpoint": {
56-
"id": "797ff9f1-4b4a-401d-a187-25e97a485044",
57-
"ip": "195.154.70.55",
58-
"port": 47358,
56+
"id": "389a42f1-9e27-49f6-8a54-73ffa3a80f03",
57+
"ip": "51.159.112.132",
58+
"port": 10606,
5959
"name": null,
6060
"load_balancer": {}
6161
},
@@ -92,14 +92,13 @@ max_parallel_workers_per_gather 0
9292
"disabled": false
9393
},
9494
"is_ha_cluster": false,
95-
"read_replicas": [],
9695
"node_type": "db-dev-m",
9796
"init_settings": [],
9897
"endpoints": [
9998
{
100-
"id": "797ff9f1-4b4a-401d-a187-25e97a485044",
101-
"ip": "195.154.70.55",
102-
"port": 47358,
99+
"id": "389a42f1-9e27-49f6-8a54-73ffa3a80f03",
100+
"ip": "51.159.112.132",
101+
"port": 10606,
103102
"name": null,
104103
"load_balancer": {}
105104
}

internal/namespaces/rdb/v1/testdata/test-create-instance-simple.cassette.yaml

Lines changed: 66 additions & 258 deletions
Large diffs are not rendered by default.

internal/namespaces/rdb/v1/testdata/test-create-instance-simple.golden

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
🟩🟩🟩 STDOUT️ 🟩🟩🟩️
33
CreatedAt few seconds ago
44
Region fr-par
5-
ID 82ebbabf-3471-40dd-ad76-e86b79e7ad2a
5+
ID e37c2a18-d984-4ae5-a678-5c506d43f1dc
66
Name cli-test
77
OrganizationID 951df375-e094-4d26-97c1-ba548eeb9c42
88
ProjectID 951df375-e094-4d26-97c1-ba548eeb9c42
99
Status ready
1010
Engine PostgreSQL-12
1111
IsHaCluster false
1212
NodeType db-dev-s
13-
Endpoints.0.ID 96840902-c630-4ece-99f1-3ee6c5006e7c
14-
Endpoints.0.IP 195.154.70.55
15-
Endpoints.0.Port 47677
13+
Endpoints.0.ID a1800b6a-5a91-4bf4-8b62-0de378bfcfe0
14+
Endpoints.0.IP 51.159.112.132
15+
Endpoints.0.Port 24828
1616
LogsPolicy.MaxAgeRetention 30
1717
BackupSameRegion false
1818

1919
Endpoint:
20-
ID 96840902-c630-4ece-99f1-3ee6c5006e7c
21-
IP 195.154.70.55
22-
Port 47677
20+
ID a1800b6a-5a91-4bf4-8b62-0de378bfcfe0
21+
IP 51.159.112.132
22+
Port 24828
2323

2424
Volume:
2525
Type lssd
@@ -46,16 +46,16 @@ max_parallel_workers_per_gather 0
4646
"size": 5000000000
4747
},
4848
"region": "fr-par",
49-
"id": "82ebbabf-3471-40dd-ad76-e86b79e7ad2a",
49+
"id": "e37c2a18-d984-4ae5-a678-5c506d43f1dc",
5050
"name": "cli-test",
5151
"organization_id": "951df375-e094-4d26-97c1-ba548eeb9c42",
5252
"project_id": "951df375-e094-4d26-97c1-ba548eeb9c42",
5353
"status": "ready",
5454
"engine": "PostgreSQL-12",
5555
"endpoint": {
56-
"id": "96840902-c630-4ece-99f1-3ee6c5006e7c",
57-
"ip": "195.154.70.55",
58-
"port": 47677,
56+
"id": "a1800b6a-5a91-4bf4-8b62-0de378bfcfe0",
57+
"ip": "51.159.112.132",
58+
"port": 24828,
5959
"name": null,
6060
"load_balancer": {}
6161
},
@@ -92,14 +92,13 @@ max_parallel_workers_per_gather 0
9292
"disabled": false
9393
},
9494
"is_ha_cluster": false,
95-
"read_replicas": [],
9695
"node_type": "db-dev-s",
9796
"init_settings": [],
9897
"endpoints": [
9998
{
100-
"id": "96840902-c630-4ece-99f1-3ee6c5006e7c",
101-
"ip": "195.154.70.55",
102-
"port": 47677,
99+
"id": "a1800b6a-5a91-4bf4-8b62-0de378bfcfe0",
100+
"ip": "51.159.112.132",
101+
"port": 24828,
103102
"name": null,
104103
"load_balancer": {}
105104
}

0 commit comments

Comments
 (0)