git.psu.edu will be upgraded to critical security release 13.7.4 Monday, 11/18 between 9 and 10pm. Please email support@git.psu.edu if you have trouble with anything Gitlab-related. Please see the git.psu.edu Yammer group for more information.

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment