Skip to content

Commit 35ad710

Browse files
docs(serverless): clarify UpdateContainer and UpdateFunction behavior (#1204)
Co-authored-by: Laure-di <[email protected]>
1 parent b02fd09 commit 35ad710

File tree

2 files changed

+6
-0
lines changed
  • scaleway-async/scaleway_async/container/v1beta1
  • scaleway/scaleway/container/v1beta1

2 files changed

+6
-0
lines changed

scaleway-async/scaleway_async/container/v1beta1/api.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,9 @@ async def update_container(
731731
"""
732732
Update an existing container.
733733
Update the container associated with the specified ID.
734+
735+
When updating a container, the container is automatically redeployed to apply the changes.
736+
This behavior can be changed by setting the `redeploy` field to `false` in the request.
734737
:param container_id: UUID of the container to update.
735738
:param region: Region to target. If none is passed will use default region from the config.
736739
:param environment_variables: Environment variables of the container.

scaleway/scaleway/container/v1beta1/api.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,9 @@ def update_container(
727727
"""
728728
Update an existing container.
729729
Update the container associated with the specified ID.
730+
731+
When updating a container, the container is automatically redeployed to apply the changes.
732+
This behavior can be changed by setting the `redeploy` field to `false` in the request.
730733
:param container_id: UUID of the container to update.
731734
:param region: Region to target. If none is passed will use default region from the config.
732735
:param environment_variables: Environment variables of the container.

0 commit comments

Comments
 (0)