Skip to content

Commit

Permalink
remove unnecesary bind envs
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-zanutto authored Apr 1, 2024
1 parent d92bedd commit 2043d51
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmd/greenmask/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,6 @@ func init() {
log.Fatal().Err(err).Msg("")
}

if err := viper.BindEnv("log.level", "LOG_LEVEL"); err != nil {
log.Fatal().Err(err).Msg("")
}
if err := viper.BindEnv("log.format", "LOG_FORMAT"); err != nil {
log.Fatal().Err(err).Msg("")
}

RootCmd.InitDefaultCompletionCmd()
RootCmd.InitDefaultHelpCmd()
RootCmd.InitDefaultVersionFlag()
Expand Down

0 comments on commit 2043d51

Please sign in to comment.