Skip to content

Commit

Permalink
Merge pull request #1241 from thaJeztah/18.06-backport-1110-Fix-Warni…
Browse files Browse the repository at this point in the history
…ng-Message

[18.06] Fix: Warning Message
  • Loading branch information
silvin-lubecki authored Jul 30, 2018
2 parents 2cb2e84 + 65a42c8 commit 1172045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 1172045

Please sign in to comment.