mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-09 22:47:24 +00:00
fix test_integrations error
This commit is contained in:
committed by
Ethan Buchman
parent
7448753257
commit
7bb638e3b8
@@ -48,9 +48,9 @@ func GetConfig(rootDir string) *viper.Viper {
|
||||
config.SetConfigName("config")
|
||||
config.SetConfigType("toml")
|
||||
config.AddConfigPath(rootDir)
|
||||
err := viper.ReadInConfig()
|
||||
err := config.ReadInConfig()
|
||||
if err != nil {
|
||||
Exit(Fmt("Could not read config: %v", err))
|
||||
Exit(Fmt("Could not read config from directory %v: %v", rootDir, err))
|
||||
}
|
||||
//config.WatchConfig()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user