Skip to content

Commit

Permalink
Set config not found warning to debug level (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlampsi committed Nov 8, 2019
1 parent 86dd889 commit e1b90d6
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 @@ -97,7 +97,7 @@ func onInit() {

if err := viper.ReadInConfig(); err != nil {
if _, ok := err.(viper.ConfigFileNotFoundError); ok {
log.Warning("Config file not found")
log.Debugf("Config file not found")
} else {
log.Error(err)
}
Expand Down

0 comments on commit e1b90d6

Please sign in to comment.