From ce3d0699362e3bf202b8b470af239562f063c12b Mon Sep 17 00:00:00 2001 From: Vimal Raghubir Date: Fri, 22 Jun 2018 15:29:38 -0400 Subject: [PATCH] Fix: Warning Message Signed-off-by: Vimal-Raghubir Signed-off-by: Sebastiaan van Stijn --- cli/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/config/config.go b/cli/config/config.go index 143436b9ec..9161921a2d 100644 --- a/cli/config/config.go +++ b/cli/config/config.go @@ -96,12 +96,12 @@ func Load(configDir string) (*configfile.ConfigFile, error) { } file, err := os.Open(confFile) if err != nil { - return configFile, errors.Wrap(err, confFile) + return configFile, errors.Wrap(err, filename) } defer file.Close() err = configFile.LegacyLoadFromReader(file) if err != nil { - return configFile, errors.Wrap(err, confFile) + return configFile, errors.Wrap(err, filename) } return configFile, nil }