Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 2025fdd

Browse files
author
[Partner] Alexander Sokolov
committed
docs updated
1 parent 09335b8 commit 2025fdd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/data-sources/gcore_faas_function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Represent FaaS function
3333
- `build_status` (String)
3434
- `code_text` (String)
3535
- `created_at` (String)
36-
- `deploy_status` (Map of String)
36+
- `deploy_status` (Map of Number)
3737
- `description` (String)
3838
- `endpoint` (String)
3939
- `envs` (Map of String)

docs/resources/gcore_faas_function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func Run(evt functions.Event, ctx functions.Context) (string, error) {
4040
EOF
4141
timeout = 5
4242
flavor = "80mCPU-128MB"
43-
main_method = "main"
43+
main_method = "Run"
4444
min_instances = 1
4545
max_instances = 2
4646
}

examples/resources/gcore_faas_function/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func Run(evt functions.Event, ctx functions.Context) (string, error) {
2525
EOF
2626
timeout = 5
2727
flavor = "80mCPU-128MB"
28-
main_method = "main"
28+
main_method = "Run"
2929
min_instances = 1
3030
max_instances = 2
3131
}

0 commit comments

Comments
 (0)