From 7bb638e3b8e1e4e8ac3442dd78dffdc88428cdc1 Mon Sep 17 00:00:00 2001 From: Rigel Rozanski Date: Thu, 13 Apr 2017 16:31:29 -0400 Subject: [PATCH] fix test_integrations error --- config/tendermint/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/tendermint/config.go b/config/tendermint/config.go index bb2846f7f..c3424d9a4 100644 --- a/config/tendermint/config.go +++ b/config/tendermint/config.go @@ -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()