Skip to content

Commit

Permalink
docs: fix identation
Browse files Browse the repository at this point in the history
  • Loading branch information
halamix2 committed Mar 1, 2024
1 parent d3d39b9 commit 1bf9f96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions cmd/kyma/run/function/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,10 @@ func (c *command) workspaceConfig(path string) (workspace.Cfg, error) {
}

supportedRuntimes := map[string]struct{}{
"nodejs16": {},
"nodejs18": {},
"python39": {},
"nodejs16": {},
"nodejs18": {},
"python39": {},
"python312": {},
}
if _, ok := supportedRuntimes[cfg.Runtime]; !ok {
return workspace.Cfg{}, fmt.Errorf("unsupported runtime: %s", cfg.Runtime)
Expand Down
2 changes: 1 addition & 1 deletion docs/gen-docs/kyma_init_function.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ kyma init function [flags]
- nodejs16 (deprecated)
- nodejs18
- python39
- python312 (default "nodejs18")
- python312 (default "nodejs18")
--runtime-image-override string Set custom runtime image base.
--schema-version string Version of the config API. (default "v0")
--url string Git repository URL
Expand Down

0 comments on commit 1bf9f96

Please sign in to comment.