Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Update the container associated with the specified ID.

When updating a container, the container is automatically redeployed to apply the changes.
This behavior can be changed by setting the `redeploy` field to `false` in the request.

USAGE:
scw container container update <container-id ...> [arg=value ...]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Update the function associated with the specified ID.

When updating a function, the function is automatically redeployed to apply the changes.
This behavior can be changed by setting the `redeploy` field to `false` in the request.

USAGE:
scw function function update <function-id ...> [arg=value ...]

Expand Down
3 changes: 3 additions & 0 deletions docs/commands/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ scw container container list [arg=value ...]

Update the container associated with the specified ID.

When updating a container, the container is automatically redeployed to apply the changes.
This behavior can be changed by setting the `redeploy` field to `false` in the request.

**Usage:**

```
Expand Down
3 changes: 3 additions & 0 deletions docs/commands/function.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ scw function function list [arg=value ...]

Update the function associated with the specified ID.

When updating a function, the function is automatically redeployed to apply the changes.
This behavior can be changed by setting the `redeploy` field to `false` in the request.

**Usage:**

```
Expand Down
7 changes: 5 additions & 2 deletions internal/namespaces/container/v1beta1/container_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -762,8 +762,11 @@ func containerContainerCreate() *core.Command {

func containerContainerUpdate() *core.Command {
return &core.Command{
Short: `Update an existing container`,
Long: `Update the container associated with the specified ID.`,
Short: `Update an existing container`,
Long: `Update the container associated with the specified ID.

When updating a container, the container is automatically redeployed to apply the changes.
This behavior can be changed by setting the ` + "`" + `redeploy` + "`" + ` field to ` + "`" + `false` + "`" + ` in the request.`,
Namespace: "container",
Resource: "container",
Verb: "update",
Expand Down
7 changes: 5 additions & 2 deletions internal/namespaces/function/v1beta1/function_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,11 @@ func functionFunctionCreate() *core.Command {

func functionFunctionUpdate() *core.Command {
return &core.Command{
Short: `Update an existing function`,
Long: `Update the function associated with the specified ID.`,
Short: `Update an existing function`,
Long: `Update the function associated with the specified ID.

When updating a function, the function is automatically redeployed to apply the changes.
This behavior can be changed by setting the ` + "`" + `redeploy` + "`" + ` field to ` + "`" + `false` + "`" + ` in the request.`,
Namespace: "function",
Resource: "function",
Verb: "update",
Expand Down
Loading