Skip to content

Commit

Permalink
bump: sdk-go with fix custom_security_group type and update goldens (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Monitob authored Jun 22, 2022
1 parent ef85e11 commit 691bf24
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/kubernetes-client/go-base v0.0.0-20190205182333-3d0e39759d98
github.com/mattn/go-colorable v0.1.12
github.com/mattn/go-isatty v0.0.14
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220613094705-be70f243d339
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220616135310-b11a2a9a6c76
github.com/spf13/cobra v1.5.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.7.4
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220613094705-be70f243d339 h1:p/fh0AxdiWlRdhmzRvFBMhlupgrvXUnqlbWkcZubQT0=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220613094705-be70f243d339/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220616135310-b11a2a9a6c76 h1:FjeyXcr7eAD4GkstU4ZrpM+GJq8t0zo5h1BwknvJKB8=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220616135310-b11a2a9a6c76/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
github.com/spf13/cobra v1.5.0 h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU=
Expand Down
2 changes: 1 addition & 1 deletion internal/namespaces/instance/v1/custom_security_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (sg *customSecurityGroupResponse) MarshalHuman() (out string, err error) {
EnableDefaultSecurity bool
OrganizationID string
ProjectID string
OrganizationDefault bool
OrganizationDefault *bool
ProjectDefault bool
CreationDate *time.Time
ModificationDate *time.Time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,16 @@ Zone fr-par-1
"creation_date": "1970-01-01T00:00:00.0Z",
"modification_date": "1970-01-01T00:00:00.0Z",
"zone": "fr-par-1"
},
"task": {
"id": "8a0e4c45-36c3-40f4-bc25-7c1834ce074d",
"description": "nop",
"progress": 0,
"started_at": "1970-01-01T00:00:00.0Z",
"terminated_at": null,
"status": "pending",
"href_from": "/snapshots",
"href_result": "snapshots/70731561-4e15-4f74-b238-f3140160ade8",
"zone": ""
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ UpdatedAt few seconds ago
"region": "fr-par",
"zone": "fr-par-1"
},
"certificate": null,
"certificate_ids": [],
"created_at": "1970-01-01T00:00:00.0Z",
"updated_at": "1970-01-01T00:00:00.0Z",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,6 @@ b51d2372-01a1-4249-9ce3-0e47600033ae cli-test db-
"project_id": "951df375-e094-4d26-97c1-ba548eeb9c42",
"status": "provisioning",
"engine": "PostgreSQL-12",
"endpoint": null,
"tags": [],
"settings": [
{
Expand Down

0 comments on commit 691bf24

Please sign in to comment.