mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 15:30:55 +00:00
fix the broken test
This commit is contained in:
parent
b235b48de4
commit
50e294be32
@ -256,7 +256,7 @@ func parseConfig(appConfigPath string) (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func assignConfig(ac config.Configer) 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)
|
assignSingleConfig(i, ac)
|
||||||
}
|
}
|
||||||
// set the run mode first
|
// set the run mode first
|
||||||
|
Loading…
Reference in New Issue
Block a user