Skip to content

Commit a906d60

Browse files
committed
Unify sample function in docs
1 parent b3d9541 commit a906d60

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

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

+2-11
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,8 @@ First, let's create the Function and apply it.
2020
4. Name the Function `hello-world`.
2121
5. From the **Language** dropdown, choose `JavaScript`.
2222
6. From the **Runtime** dropdown, choose one of the available `nodejs`.
23-
7. Paste the following source code:
24-
```javascript
25-
module.exports = {
26-
main: async function (event, context) {
27-
const message = `Hello Serverless`
28-
console.log(message);
29-
return message;
30-
}
31-
}
32-
```
33-
7. Click **Create**.
23+
7. Keep the sample function code.
24+
8. Click **Create**.
3425
</details>
3526
<details>
3627
<summary label="kubectl">

0 commit comments

Comments
 (0)