Skip to content

Commit ae266be

Browse files
committed
fix(docs): doc review
1 parent 31ad659 commit ae266be

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

serverless/containers/how-to/add-trigger-to-a-container.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The configuration of the queue retention can affect the behavior of the trigger.
5656
When a message is pushed to the selected queues, the container will be triggered with the message content passed in the event object's body.
5757

5858
<Message type="note">
59-
**Retry Policy:** If the Container returns a status code >=3XX, sending the message will be retried up to three times.
59+
**Retry Policy:** If the Container returns a status code superior or equal to 300, sending the message will be retried up to three times.
6060
</Message>
6161

6262
## NATS triggers
@@ -74,7 +74,7 @@ When a message is pushed to the selected queues, the container will be triggered
7474
7. Click **Create trigger** to launch the trigger creation.
7575

7676
<Message type="note">
77-
**Retry Policy:** If the Container returns a status code >=3XX, sending the message will be retried up to three times.
77+
**Retry Policy:** If the Container returns a status code superior or equal to 300, sending the message will be retried up to three times.
7878
</Message>
7979

8080
## CRON triggers

serverless/containers/troubleshooting/502-error-when-scaling.mdx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
meta:
33
title: Error code 502
4-
description: Troubleshoot 502 issues while sending requests to Serverless Containers.
4+
description: Troubleshoot 502 error codes while sending requests to Serverless Containers.
55
content:
66
h1: Error code 502
7-
paragraph: Troubleshoot 502 issues while sending requests to Serverless Containers.
7+
paragraph: Troubleshoot 502 error codes while sending requests to Serverless Containers.
88
tags: serverless Containers troubleshooting issue error 502
99
dates:
1010
validation: 2025-01-03
@@ -27,9 +27,7 @@ This issue typically occurs when traffic is sent too early to the newly created
2727

2828
To ensure the Serverless Container is completely ready, both in terms of the HTTP port and the software scope, it is recommended to use **custom health checks**.
2929

30-
**Custom health checks** can be configured via the API; in this case, it's recommended to implement a custom HTTP route on the Container that returns its readiness status.
31-
32-
* [API Documentation for custom health checks](https://www.scaleway.com/en/developers/api/serverless-containers/#path-containers-update-an-existing-container) - Refer to the `health_check` parameter.
30+
You can configure [Custom health checks via the Scaleway API]@(https://www.scaleway.com/en/developers/api/serverless-containers/#path-containers-update-an-existing-container) with the `health_check` parameter. In this case, we recommend you implement a custom HTTP route on the Container that returns its readiness status.
3331

3432
<Message type="tip">
3533
A simple health check to implement is just a simple `GET` on `/` to make sure the HTTP server is properly listening.
@@ -43,7 +41,3 @@ To ensure the Serverless Container is completely ready, both in terms of the HTT
4341
}
4442
```
4543
</Message>
46-
47-
<Message type="note">
48-
The custom health check feature will be available in the Scaleway console in Q1 2025.
49-
</Message>

serverless/functions/how-to/add-trigger-to-a-function.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The configuration of the queue retention may affect the behavior of the trigger.
5454
7. Click **Create trigger** to launch trigger creation.
5555

5656
<Message type="note">
57-
**Retry Policy:** If the Function returns a status code >=3XX, sending the message will be retried up to three times.
57+
**Retry Policy:** If the Function returns a status code superior or equal to 300, sending the message will be retried up to three times.
5858
</Message>
5959

6060
## NATS triggers
@@ -72,7 +72,7 @@ Scaleway [NATS subjects](/serverless/messaging/quickstart/#quickstart-for-nats)
7272
7. Click **Create trigger** to launch trigger creation.
7373

7474
<Message type="note">
75-
**Retry Policy:** If the Function returns a status code >=3XX, sending the message will be retried up to three times.
75+
**Retry Policy:** If the Function returns a status code superior or equal to 300, sending the message will be retried up to three times.
7676
</Message>
7777

7878
## CRON triggers

0 commit comments

Comments
 (0)