Skip to content

Commit 2fcd3ee

Browse files
authored
docs(serverless): clarify delete secrets behavior (scaleway#2691)
1 parent 554a0d4 commit 2fcd3ee

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

api/container/v1beta1/container_sdk.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,6 +2253,9 @@ func (s *API) CreateContainer(req *CreateContainerRequest, opts ...scw.RequestOp
22532253
}
22542254

22552255
// UpdateContainer: Update the container associated with the specified ID.
2256+
//
2257+
// When updating a container, the container is automatically redeployed to apply the changes.
2258+
// This behavior can be changed by setting the `redeploy` field to `false` in the request.
22562259
func (s *API) UpdateContainer(req *UpdateContainerRequest, opts ...scw.RequestOption) (*Container, error) {
22572260
var err error
22582261

api/function/v1beta1/function_sdk.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2346,6 +2346,9 @@ func (s *API) CreateFunction(req *CreateFunctionRequest, opts ...scw.RequestOpti
23462346
}
23472347

23482348
// UpdateFunction: Update the function associated with the specified ID.
2349+
//
2350+
// When updating a function, the function is automatically redeployed to apply the changes.
2351+
// This behavior can be changed by setting the `redeploy` field to `false` in the request.
23492352
func (s *API) UpdateFunction(req *UpdateFunctionRequest, opts ...scw.RequestOption) (*Function, error) {
23502353
var err error
23512354

0 commit comments

Comments
 (0)