Skip to content

Commit aed06e6

Browse files
committed
bugfixes
1 parent 9573182 commit aed06e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cve-alert-restapi/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func init() {
113113
rootCmd.Flags().Bool("syslog", false, "Use this flag to log to syslog")
114114
viper.BindPFlag("log-level", rootCmd.Flags().Lookup("log-level"))
115115
viper.BindPFlag("read-db", rootCmd.Flags().Lookup("read-db"))
116-
viper.BindPFlag("syslog", rootCmd.Flags().Lookup("syslog"))
116+
viper.BindPFlag("logging.syslog", rootCmd.Flags().Lookup("syslog"))
117117
// Cobra also supports local flags, which will only run
118118
// when this action is called directly.
119119
// rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")

0 commit comments

Comments
 (0)