Commit fba103f4 authored by Andy Cobaugh's avatar Andy Cobaugh

be more clear that the config file not found is not an error

parent cf97658e
Pipeline #121998 waiting for manual action with stages
in 52 seconds
......@@ -93,7 +93,7 @@ func initConfig() {
// If a config file is found, read it in.
err := viper.ReadInConfig()
if err != nil {
fmt.Fprintf(os.Stderr, "Config file not found at %s, using defaults\n", err)
fmt.Fprintf(os.Stderr, "Config file not found, using defaults: %s\n", err)
} else {
fmt.Fprintf(os.Stderr, "Using config file: %s\n", viper.ConfigFileUsed())
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment