From 8587d70ae1eb5b14c293f0722d20b4edda336240 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 14 Apr 2026 13:57:30 +0000 Subject: [PATCH] feat: update generated APIs --- .../test-all-usage-container-container-create-usage.golden | 3 +++ docs/commands/container.md | 3 +++ go.mod | 2 +- go.sum | 4 ++-- internal/namespaces/container/v1beta1/container_cli.go | 7 +++++-- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-container-container-create-usage.golden b/cmd/scw/testdata/test-all-usage-container-container-create-usage.golden index e63520aa6d..e69a472a8d 100644 --- a/cmd/scw/testdata/test-all-usage-container-container-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-container-container-create-usage.golden @@ -2,6 +2,9 @@ 🟥🟥🟥 STDERR️️ 🟥🟥🟥️ Create a new container in the specified region. +When creating a container, the `created` status is no longer used. The deployment process is started +and the status is set to `pending` accordingly. + USAGE: scw container container create [arg=value ...] diff --git a/docs/commands/container.md b/docs/commands/container.md index f578387057..9746d4100a 100644 --- a/docs/commands/container.md +++ b/docs/commands/container.md @@ -49,6 +49,9 @@ Container management commands. Create a new container in the specified region. +When creating a container, the `created` status is no longer used. The deployment process is started +and the status is set to `pending` accordingly. + **Usage:** ``` diff --git a/go.mod b/go.mod index 0e75ec9090..e8e8620915 100644 --- a/go.mod +++ b/go.mod @@ -25,7 +25,7 @@ require ( github.com/moby/buildkit v0.29.0 github.com/moby/go-archive v0.2.0 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410075832-1d11daa52f3a + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410085437-583409c79721 github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 diff --git a/go.sum b/go.sum index 81df50ddd3..5671dcd32c 100644 --- a/go.sum +++ b/go.sum @@ -476,8 +476,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7 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.36.0.20260410075832-1d11daa52f3a h1:QgieCW5f7sJFVpjSo3yvEUIh+kF7wHyDrtkoONBttKA= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410075832-1d11daa52f3a/go.mod h1:jG9ApeokegM68b/6vebk8fAhBJbqZKUoor/+f19+bH0= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410085437-583409c79721 h1:cysx/Agxy/gRF3WLMPh/0hcSj8QBRDEyQI/nG3a2j8Y= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410085437-583409c79721/go.mod h1:jG9ApeokegM68b/6vebk8fAhBJbqZKUoor/+f19+bH0= 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.10.0 h1:l+H5ErcW0PAehBNrBxoGv1jjNpGYdZ9RcheFkB2WI14= diff --git a/internal/namespaces/container/v1beta1/container_cli.go b/internal/namespaces/container/v1beta1/container_cli.go index b572dac3f7..1ad4e58ff2 100644 --- a/internal/namespaces/container/v1beta1/container_cli.go +++ b/internal/namespaces/container/v1beta1/container_cli.go @@ -516,8 +516,11 @@ func containerContainerGet() *core.Command { func containerContainerCreate() *core.Command { return &core.Command{ - Short: `Create a new container`, - Long: `Create a new container in the specified region.`, + Short: `Create a new container`, + Long: `Create a new container in the specified region. + +When creating a container, the ` + "`" + `created` + "`" + ` status is no longer used. The deployment process is started +and the status is set to ` + "`" + `pending` + "`" + ` accordingly.`, Namespace: "container", Resource: "container", Verb: "create",