From 50e294be32da818b9fea72c42a668033f396674d Mon Sep 17 00:00:00 2001 From: astaxie Date: Mon, 27 Feb 2017 09:41:15 +0800 Subject: [PATCH] fix the broken test --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 51ee08a1..3c202e53 100644 --- a/config.go +++ b/config.go @@ -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