Skip to content

Commit 58c54d0

Browse files
Apply suggestions from code review
Co-authored-by: nerda-codes <[email protected]>
1 parent 06ee289 commit 58c54d0

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

serverless/containers/troubleshooting/cannot-create-namespace.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ meta:
33
title: I am unable to create a Serverless Containers namespace
44
description: Troubleshoot problems encountered while creating namespaces for Scaleway Serverless Containers.
55
content:
6-
h1: My function fails after trying too many times
6+
h1: I am unable to create a Serverless Containers namespace
77
paragraph: Troubleshoot problems encountered while creating namespaces for Scaleway Serverless Containers.
88
tags: serverless Containers troubleshooting issue error namespace creation unable
99
dates:
@@ -21,10 +21,10 @@ I cannot create a Serverless Containers namespace.
2121

2222
This issue can happen for the following reasons:
2323

24-
- You created too many namespaces and reached [your account's quota](/identity-and-access-management/organizations-and-projects/additional-content/organization-quotas/#serverless-containers).
24+
- You have created too many namespaces and reached [your account's quota](/identity-and-access-management/organizations-and-projects/additional-content/organization-quotas/#serverless-containers).
2525

26-
- You created too many Registry namespaces and reached [your account's quota](/identity-and-access-management/organizations-and-projects/additional-content/organization-quotas/#container-registry).
26+
- You have created too many Registry namespaces and reached [your account's quota](/identity-and-access-management/organizations-and-projects/additional-content/organization-quotas/#container-registry).
2727

2828
### Possible solutions
2929

30-
Make sure that you did not exceed the maximum number of allowed namespaces with the [Scaleway console](https://console.scaleway.com/) or with the [API](https://www.scaleway.com/en/developers/api/serverless-containers/#path-namespaces-list-all-your-namespaces).
30+
Make sure that you have not exceeded the maximum number of allowed namespaces with the [Scaleway console](https://console.scaleway.com/) or with the [API](https://www.scaleway.com/en/developers/api/serverless-containers/#path-namespaces-list-all-your-namespaces).

serverless/containers/troubleshooting/cannot-deploy-image.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ I am unable to deploy my image using Serverless Containers.
2525

2626
- Containers cannot start due to insufficient provisioned resources. Update your container's resources by provisioning more memory and more vCPU.
2727

28-
- Make sure you built your image for an `amd64` architecture, as `arm64` is not supported. See [Architecture](/serverless/containers/reference-content/containers-limitations/#Architecture) documentation.
28+
- Make sure you have built your image for an `amd64` architecture, as `arm64` is not supported. See the [Architecture](/serverless/containers/reference-content/containers-limitations/#Architecture) documentation for more information.
2929

3030
- Make sure your deployment does not exceed the limitations of [Serverless Containers](/serverless/containers/reference-content/containers-limitations/).
3131

serverless/functions/troubleshooting/cannot-create-namespace.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ meta:
33
title: I am unable to create a Serverless Functions namespace
44
description: Troubleshoot problems encountered while creating namespaces for Scaleway Serverless Functions.
55
content:
6-
h1: My function fails after trying too many times
6+
h1: I am unable to create a Serverless Functions namespace
77
paragraph: Troubleshoot problems encountered while creating namespaces for Scaleway Serverless Functions.
88
tags: serverless functions troubleshooting issue error namespace creation unable
99
dates:
@@ -21,10 +21,10 @@ I cannot create a Serverless Functions namespace.
2121

2222
This issue can happen for the following reasons:
2323

24-
- You created too many namespaces and reached [your account's quota](/identity-and-access-management/organizations-and-projects/additional-content/organization-quotas/#serverless-functions).
24+
- You have created too many namespaces and reached [your account's quota](/identity-and-access-management/organizations-and-projects/additional-content/organization-quotas/#serverless-functions).
2525

26-
- You created too many Registry namespaces and reached [your account's quota](/identity-and-access-management/organizations-and-projects/additional-content/organization-quotas/#container-registry).
26+
- You have created too many Registry namespaces and reached [your account's quota](/identity-and-access-management/organizations-and-projects/additional-content/organization-quotas/#container-registry).
2727

2828
### Possible solutions
2929

30-
Make sure that you did not exceed the maximum number of allowed namespaces with the [Scaleway console](https://console.scaleway.com/) or with the [API](https://www.scaleway.com/en/developers/api/serverless-functions/#path-namespaces-list-all-your-namespaces).
30+
Make sure that you have not exceeded the maximum number of allowed namespaces with the [Scaleway console](https://console.scaleway.com/) or with the [API](https://www.scaleway.com/en/developers/api/serverless-functions/#path-namespaces-list-all-your-namespaces).

serverless/functions/troubleshooting/handler-not-found.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ categories:
1515

1616
## Problem
1717

18-
My serverless Function is unable to find the Handler during its execution, and displays an error message similar to the following:
18+
My serverless Function is unable to find the handler during its execution, and displays an error message similar to the following:
1919

2020
```
2121
Function Handler does not exist, check that you provided the right HANDLER parameter …
@@ -29,16 +29,16 @@ Provided Handler does not exist, or does not export methods properly
2929

3030
## Cause
3131

32-
The systems cannot find the function which will handle the request. It can be related to an error in your code before your `handle` function.
32+
The systems cannot find the function that should handle the request. It can be related to an error in your code before your `handle` function.
3333

3434
## Possible solutions
3535

3636
- Make sure to provide the right handler path.
3737

38-
- If you used a zip file, make sure the dependencies are present in your [zip package](/serverless/functions/how-to/package-function-dependencies-in-zip/).
38+
- If you have used a zip file, make sure the dependencies are present in your [zip package](/serverless/functions/how-to/package-function-dependencies-in-zip/).
3939

40-
- If you used the Serverless framework, ensure the `.serverless` directory created with `serverless package` contains your zip file.
40+
- If you have used the Serverless framework, ensure the `.serverless` directory created with `serverless package` contains your zip file.
4141

4242
- Make sure that the dependencies folders (`node_modules` or `package` in Python) are in package/include.
4343

44-
- Serverless Functions rely on Alpine Linux, therefore, some C-based libraries (`pandas`, `tensorflow`, `numpy`) will not work. Refer to the official documentation to safely add these libraries to your package.
44+
- Serverless Functions rely on Alpine Linux. Therefore, some C-based libraries (`pandas`, `tensorflow`, `numpy`) will not work. Refer to the official documentation to safely add these libraries to your package.

serverless/functions/troubleshooting/timeout-error.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ I am experiencing timeout errors when using Scaleway Serverless Functions.
1919

2020
### Cause
2121

22-
Timeout happens when your function can’t return a results in the defined amount of time.
22+
Timeout happens when your function cannot return any result in the defined amount of time.
2323

2424
### Possible solutions
2525

serverless/functions/troubleshooting/too-many-retries.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This error is returned by the runtime when it cannot process the request. It has
2727

2828
## Possible solutions
2929

30-
- Make sure that you only imported the required dependencies and not the complete libraries.
30+
- Make sure that you have only imported the required dependencies and not the complete libraries.
3131

3232
- Avoid performing too many initialization operations.
3333

serverless/jobs/troubleshooting/job-in-error-state.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ My job run is in an error state.
1919

2020
## Possible solutions
2121

22-
- Make sure you built your image for an `amd64` architecture, as `arm64` is not supported. See [Architecture](/serverless/jobs/reference-content/jobs-limitations/#Architecture) documentation.
22+
- Make sure that you have built your image for an `amd64` architecture, as `arm64` is not supported. See the [Architecture](/serverless/jobs/reference-content/jobs-limitations/#Architecture) documentation for more information.
2323

24-
- Make sure your deployment does not exceed the limitations of [Serverless Jobs](/serverless/jobs/reference-content/jobs-limitations/).
24+
- Make sure that your deployment does not exceed the limitations of [Serverless Jobs](/serverless/jobs/reference-content/jobs-limitations/).

0 commit comments

Comments
 (0)