utils: fix wrong filename in error message (#8643)

This commit is contained in:
Helder Moreira 2021-02-19 14:46:58 +00:00 committed by GitHub
parent ef8dabcf0f
commit c6355fdb99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ func interceptConfigs(rootViper *viper.Viper) (*tmcfg.Config, error) {
rootViper.SetConfigName("config")
rootViper.AddConfigPath(configPath)
if err := rootViper.ReadInConfig(); err != nil {
return nil, fmt.Errorf("failed to read in app.toml: %w", err)
return nil, fmt.Errorf("failed to read in config.toml: %w", err)
}
}