1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-11 06:21:00 +00:00

Merge pull request #1794 from youngsterxyf/issue1789

fix issue1789: when testing, load config explicitly and forcibly
This commit is contained in:
astaxie
2016-03-22 17:21:57 +08:00
2 changed files with 1 additions and 4 deletions

View File

@ -316,10 +316,6 @@ func LoadAppConfig(adapterName, configPath string) error {
return fmt.Errorf("the target config file: %s don't exist", configPath)
}
if absConfigPath == appConfigPath {
return nil
}
appConfigPath = absConfigPath
appConfigProvider = adapterName