Skip to content

Commit ad2989b

Browse files
Codelaxremyleone
andauthored
chore: bump scaleway sdk-go (#4116)
Co-authored-by: Rémy Léone <[email protected]>
1 parent c26348b commit ad2989b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ require (
2626
github.com/mattn/go-isatty v0.0.20
2727
github.com/moby/buildkit v0.13.2
2828
github.com/opencontainers/go-digest v1.0.0
29-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20240909084652-00d3fbf2d825
29+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20240910124414-bec257c2bbc7
3030
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3131
github.com/spf13/cobra v1.8.1
3232
github.com/spf13/pflag v1.0.5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
465465
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
466466
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
467467
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
468-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20240909084652-00d3fbf2d825 h1:bkMLD6c7sSsDlyHlCbRMStabJevV4wDGn0dHhHB7OBM=
469-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20240909084652-00d3fbf2d825/go.mod h1:o/2twhmcz4HlhtuuubCuwQ/fe+zyzoJR85+02gy04yY=
468+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20240910124414-bec257c2bbc7 h1:CFtaqYB/yhupu2aNrTo6uU83VgDKQbxyjBAYBvqfJr4=
469+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20240910124414-bec257c2bbc7/go.mod h1:o/2twhmcz4HlhtuuubCuwQ/fe+zyzoJR85+02gy04yY=
470470
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
471471
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
472472
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/instance/v1/custom_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func serversMarshalerFunc(i interface{}, opt *human.MarshalOpt) (string, error)
6767
PrivateIP *string
6868
Tags []string
6969
ImageName string
70-
RoutedIPEnabled bool
70+
RoutedIPEnabled *bool
7171
PlacementGroup *instance.PlacementGroup
7272
ModificationDate *time.Time
7373
CreationDate *time.Time

internal/namespaces/instance/v1/custom_server_action_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ func Test_ServerEnableRoutedIP(t *testing.T) {
157157
ServerID: storedServer.ID,
158158
})
159159
assert.Nil(t, err)
160-
assert.Equal(t, true, server.Server.RoutedIPEnabled)
160+
assert.Equal(t, scw.BoolPtr(true), server.Server.RoutedIPEnabled)
161161
ip, err := api.GetIP(&instanceSDK.GetIPRequest{
162162
Zone: storedServer.Zone,
163163
IP: storedServer.PublicIP.ID,

0 commit comments

Comments
 (0)