Skip to content

Commit 80317d8

Browse files
authored
Merge branch 'scaleway:master' into master
2 parents 6da5cdd + 3c64f7c commit 80317d8

File tree

6 files changed

+22
-4
lines changed

6 files changed

+22
-4
lines changed

cmd/scw/testdata/test-all-usage-container-container-update-usage.golden

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
33
Update the container associated with the specified ID.
44

5+
When updating a container, the container is automatically redeployed to apply the changes.
6+
This behavior can be changed by setting the `redeploy` field to `false` in the request.
7+
58
USAGE:
69
scw container container update <container-id ...> [arg=value ...]
710

cmd/scw/testdata/test-all-usage-function-function-update-usage.golden

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
33
Update the function associated with the specified ID.
44

5+
When updating a function, the function is automatically redeployed to apply the changes.
6+
This behavior can be changed by setting the `redeploy` field to `false` in the request.
7+
58
USAGE:
69
scw function function update <function-id ...> [arg=value ...]
710

docs/commands/container.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ scw container container list [arg=value ...]
182182

183183
Update the container associated with the specified ID.
184184

185+
When updating a container, the container is automatically redeployed to apply the changes.
186+
This behavior can be changed by setting the `redeploy` field to `false` in the request.
187+
185188
**Usage:**
186189

187190
```

docs/commands/function.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,9 @@ scw function function list [arg=value ...]
439439

440440
Update the function associated with the specified ID.
441441

442+
When updating a function, the function is automatically redeployed to apply the changes.
443+
This behavior can be changed by setting the `redeploy` field to `false` in the request.
444+
442445
**Usage:**
443446

444447
```

internal/namespaces/container/v1beta1/container_cli.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,11 @@ func containerContainerCreate() *core.Command {
762762

763763
func containerContainerUpdate() *core.Command {
764764
return &core.Command{
765-
Short: `Update an existing container`,
766-
Long: `Update the container associated with the specified ID.`,
765+
Short: `Update an existing container`,
766+
Long: `Update the container associated with the specified ID.
767+
768+
When updating a container, the container is automatically redeployed to apply the changes.
769+
This behavior can be changed by setting the ` + "`" + `redeploy` + "`" + ` field to ` + "`" + `false` + "`" + ` in the request.`,
767770
Namespace: "container",
768771
Resource: "container",
769772
Verb: "update",

internal/namespaces/function/v1beta1/function_cli.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,11 @@ func functionFunctionCreate() *core.Command {
761761

762762
func functionFunctionUpdate() *core.Command {
763763
return &core.Command{
764-
Short: `Update an existing function`,
765-
Long: `Update the function associated with the specified ID.`,
764+
Short: `Update an existing function`,
765+
Long: `Update the function associated with the specified ID.
766+
767+
When updating a function, the function is automatically redeployed to apply the changes.
768+
This behavior can be changed by setting the ` + "`" + `redeploy` + "`" + ` field to ` + "`" + `false` + "`" + ` in the request.`,
766769
Namespace: "function",
767770
Resource: "function",
768771
Verb: "update",

0 commit comments

Comments
 (0)