Skip to content

Commit

Permalink
chore: Remove Nodejs16 environment (kyma-project#1985)
Browse files Browse the repository at this point in the history
  • Loading branch information
halamix2 authored and pPrecel committed May 20, 2024
1 parent 9960ced commit 8a83d9b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions cmd/kyma/init/function/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const (

var (
deprecatedRuntimes = map[string]struct{}{
"nodejs16": {},
"python39": {},
}
)
Expand Down Expand Up @@ -56,7 +55,6 @@ Use the flags to specify the initial configuration for your Function or to choos
cmd.Flags().StringVarP(
&o.Runtime, "runtime", "r", defaultRuntime,
`Flag used to define the environment for running your Function. Use one of these options:
- nodejs16 (deprecated)
- nodejs18
- python39 (deprecated)
- python312`,
Expand Down
1 change: 0 additions & 1 deletion cmd/kyma/run/function/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ func (c *command) workspaceConfig(path string) (workspace.Cfg, error) {
}

supportedRuntimes := map[string]struct{}{
"nodejs16": {},
"nodejs18": {},
"python39": {},
"python312": {},
Expand Down
1 change: 0 additions & 1 deletion docs/gen-docs/kyma_init_function.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ kyma init function [flags]
--reference string Commit hash or branch name (default "main")
--repository-name string The name of the Git repository to be created
-r, --runtime string Flag used to define the environment for running your Function. Use one of these options:
- nodejs16 (deprecated)
- nodejs18
- python39 (deprecated)
- python312 (default "nodejs18")
Expand Down

0 comments on commit 8a83d9b

Please sign in to comment.