Skip to content

Commit

Permalink
chore: Remove Nodejs16 environment
Browse files Browse the repository at this point in the history
  • Loading branch information
halamix2 committed Mar 6, 2024
1 parent 4cbab7f commit 92998d5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions cmd/kyma/init/function/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ const (
)

var (
deprecatedRuntimes = map[string]struct{}{
"nodejs16": {},
}
deprecatedRuntimes = map[string]struct{}{}
)

type command struct {
Expand Down Expand Up @@ -55,7 +53,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
- 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
- python312 (default "nodejs18")
Expand Down

0 comments on commit 92998d5

Please sign in to comment.