Skip to content

Commit

Permalink
fix: fix faulty shutdownHook definition in the Config-Schema
Browse files Browse the repository at this point in the history
In the config-service of the api-server the configuration value for
"shutdownHook" is not getting applied due to an issue in the reducer of
the newExampleConfigEnv(). The reducer is not populating the
shutdownHook configuration based on a faulty Config-Schema definition
for the shutdownHook where "arg" and "env" are missing.

Closes: #1648
Signed-off-by: Michael Courtin <michael.courtin@accenture.com>
  • Loading branch information
m-courtin committed Dec 14, 2021
1 parent e58c2cb commit f74e62d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ export class ConfigService {
"(which is the default behavior). You will want to turn this off if you are embedding " +
"the API server in your own application and would like to stop the API server from " +
"meddling in the OS process signal handling when you take care of it yourself in your own code.",
env: "ENABLE_SHUTDOWN_HOOK",
arg: "enable-shutdown-hook",
format: Boolean,
default: true,
},
Expand Down

0 comments on commit f74e62d

Please sign in to comment.