Skip to content

Commit e2f8149

Browse files
Small fixes in Quick Install docs (#17916) (#17922)
* Small fixes in Quick Install docs * Apply suggestions from code review --------- Co-authored-by: Natalia Sitko <[email protected]>
1 parent 58e4a30 commit e2f8149

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

docs/02-get-started/02-deploy-expose-function.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ First, let's create the Function and apply it.
1818
2. Go to **Workloads** > **Functions**.
1919
3. Click on **Create Function**.
2020
4. Name the Function `hello-world`.
21-
5. From the **Language** dropdown, choose `nodejs`.
22-
6. From the **Runtime** dropdown choose one of the available `nodejs`.
21+
5. From the **Language** dropdown, choose `JavaScript`.
22+
6. From the **Runtime** dropdown, choose one of the available `nodejs`.
2323
7. Paste the following source code:
2424
```javascript
2525
module.exports = {
@@ -169,7 +169,7 @@ This opens the Function's external address as a new page.
169169

170170
> **NOTE:** Alternatively, from the left navigation go to **API Rules**, and click on the **Host** URL there.
171171
172-
The operation was successful if the page says `Hello Serverless`.
172+
The operation was successful if the page says `Hello World from the Kyma Function hello-world running on nodejs18!`.
173173
</details>
174174
<details>
175175
<summary label="kubectl">

docs/02-get-started/04-trigger-workload-with-event.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ First, create a sample Function that prints out the received event to console:
1818
1. Go to **Namespaces** and select the default Namespace.
1919
2. Go to **Workloads** > **Functions** and click **Create Function +**.
2020
3. Name the Function `lastorder`.
21-
4. From the **Language** dropdown, choose `nodejs`.
22-
5. In the **Source** section, replace its source with the following code:
21+
4. From the **Language** dropdown, choose `JavaScript`.
22+
5. From the **Runtime** dropdown, choose one of the available `nodejs`.
23+
6. In the **Source** section, replace its source with the following code:
2324
```js
2425
module.exports = {
2526
main: async function (event, context) {
@@ -28,8 +29,8 @@ First, create a sample Function that prints out the received event to console:
2829
}
2930
}
3031
```
31-
6. Click **Create**.
32-
7. Wait a few seconds for the Function to have status `RUNNING`.
32+
7. Click **Create**.
33+
8. Wait a few seconds for the Function to have the status `RUNNING`.
3334

3435
</details>
3536
<details>

0 commit comments

Comments
 (0)