diff --git a/go.mod b/go.mod index 00e6792918..567a427025 100644 --- a/go.mod +++ b/go.mod @@ -25,7 +25,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/moby/buildkit v0.13.2 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240524120129-bf18052e25ed + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240527121228-99d7702df95c github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.8.0 github.com/spf13/pflag v1.0.5 diff --git a/go.sum b/go.sum index ef2231d755..b82ad51ffa 100644 --- a/go.sum +++ b/go.sum @@ -453,8 +453,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240524120129-bf18052e25ed h1:N5MUaZJIdcKMS2oSLON3fkdCpJKtjg6/55YtRs6TiO8= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240524120129-bf18052e25ed/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240527121228-99d7702df95c h1:KthZAR77Pv8Cv7fIyy8oDzA+q6WxxHVsu1k0LoYiIls= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240527121228-99d7702df95c/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA= diff --git a/internal/namespaces/inference/v1beta1/custom_deployment.go b/internal/namespaces/inference/v1beta1/custom_deployment.go index dcd799ca32..ce1b888944 100644 --- a/internal/namespaces/inference/v1beta1/custom_deployment.go +++ b/internal/namespaces/inference/v1beta1/custom_deployment.go @@ -3,15 +3,16 @@ package inference import ( "context" "errors" + "net/http" + "reflect" + "strings" + "time" + "github.com/fatih/color" "github.com/scaleway/scaleway-cli/v2/internal/core" "github.com/scaleway/scaleway-cli/v2/internal/human" inference "github.com/scaleway/scaleway-sdk-go/api/inference/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" - "net/http" - "reflect" - "strings" - "time" ) const ( diff --git a/internal/namespaces/inference/v1beta1/custom_deployment_test.go b/internal/namespaces/inference/v1beta1/custom_deployment_test.go index cad4d6ac20..8c643f9da6 100644 --- a/internal/namespaces/inference/v1beta1/custom_deployment_test.go +++ b/internal/namespaces/inference/v1beta1/custom_deployment_test.go @@ -1,10 +1,11 @@ package inference_test import ( + "testing" + "github.com/scaleway/scaleway-cli/v2/internal/core" inference "github.com/scaleway/scaleway-cli/v2/internal/namespaces/inference/v1beta1" "github.com/scaleway/scaleway-cli/v2/internal/namespaces/vpc/v2" - "testing" ) func Test_DeploymentCreate(t *testing.T) { diff --git a/internal/namespaces/inference/v1beta1/custom_endpoint.go b/internal/namespaces/inference/v1beta1/custom_endpoint.go index 9f19ff1c0b..cf7b4ced8c 100644 --- a/internal/namespaces/inference/v1beta1/custom_endpoint.go +++ b/internal/namespaces/inference/v1beta1/custom_endpoint.go @@ -2,9 +2,10 @@ package inference import ( "context" + "reflect" + "github.com/scaleway/scaleway-cli/v2/internal/core" inference "github.com/scaleway/scaleway-sdk-go/api/inference/v1beta1" - "reflect" ) func endpointCreateBuilder(c *core.Command) *core.Command {