From ccce566ba7a41589fb31814b34d6ad50c81dcf9d Mon Sep 17 00:00:00 2001 From: youngsterxyf Date: Wed, 27 Jan 2016 16:19:10 +0800 Subject: [PATCH] accept @astaxie suggestion: change the sequence adapterName and configPath --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index ebc054d6..e0439084 100644 --- a/config.go +++ b/config.go @@ -312,7 +312,7 @@ func parseConfig(appConfigPath string) (err error) { } // LoadAppConfig allow developer to apply a config file -func LoadAppConfig(configPath string, adapterName string) error { +func LoadAppConfig(adapterName string, configPath string) error { absConfigPath, err := filepath.Abs(configPath) if err != nil { return err