Skip to content

Commit

Permalink
make the bouncer read env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
fbuetler committed Mar 29, 2024
1 parent aca4de9 commit 6f4a6bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/config/Config.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ func writebackConfig() {
}

func RegisterGlobalArguments(flags *pflag.FlagSet) {
viper.AutomaticEnv()
registerBool(flags, "verbose", true, "Output verbose log messages", &CurrentOptions.Verbose)
registerString(flags, "database", "", "Database to use", &CurrentOptions.DBDatabase)
registerString(flags, "host", "", "Database host", &CurrentOptions.DBHost)
Expand Down

0 comments on commit 6f4a6bf

Please sign in to comment.