fix the broken test

This commit is contained in:
astaxie 2017-02-27 09:41:15 +08:00
parent b235b48de4
commit 50e294be32
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ func parseConfig(appConfigPath string) (err error) {
}
func assignConfig(ac config.Configer) error {
for _, i := range []interface{}{&BConfig.Listen, &BConfig.WebConfig, &BConfig.Log, &BConfig.WebConfig.Session} {
for _, i := range []interface{}{BConfig, &BConfig.Listen, &BConfig.WebConfig, &BConfig.Log, &BConfig.WebConfig.Session} {
assignSingleConfig(i, ac)
}
// set the run mode first