Standardize error messages by removing config prefix

This commit is contained in:
andig 2020-07-29 14:10:49 +02:00
parent 3de1f3d072
commit 1e03a51eae
15 changed files with 23 additions and 31 deletions

View file

@ -32,7 +32,7 @@ func TestDistConfig(t *testing.T) {
// check config does not contain surplus keys
var conf config
if err := viper.UnmarshalExact(&conf); err != nil {
log.FATAL.Fatalf("config: failed parsing config file %s: %v", cfgFile, err)
log.FATAL.Fatalf("failed parsing config file %s: %v", cfgFile, err)
}
// setup mqtt