Skip to content

Commit

Permalink
Fix loggix.MustViperFlags
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Holtzmann <aholtzmann@equinix.com>
  • Loading branch information
andy-v-h committed Dec 15, 2022
1 parent 433ae65 commit 9996ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func init() {
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.hollow.yaml)")

// Logging flags
loggingx.MustViperFlags(rootCmd.PersistentFlags())
loggingx.MustViperFlags(viper.GetViper(), rootCmd.PersistentFlags())

// Register version command
versionx.RegisterCobraCommand(rootCmd, func() { versionx.PrintVersion(logger) })
Expand Down

0 comments on commit 9996ec8

Please sign in to comment.