From c17ca47e7d54b45d125b449441c4be297edbd930 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Mon, 1 Aug 2022 16:42:07 +0800 Subject: [PATCH] config file update --- pkg/common/config/config.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/common/config/config.go b/pkg/common/config/config.go index c018ce4c2..217986f05 100644 --- a/pkg/common/config/config.go +++ b/pkg/common/config/config.go @@ -512,11 +512,10 @@ type PDefaultTips struct { func init() { cfgName := os.Getenv("CONFIG_NAME") - fmt.Println("GET IM DEFAULT CONFIG PATH :", Root, "ENV PATH:", cfgName, b, filepath.Dir(b)) if len(cfgName) != 0 { Root = cfgName } - + fmt.Println("GET IM DEFAULT CONFIG PATH :", Root, "ENV PATH:", cfgName) bytes, err := ioutil.ReadFile(filepath.Join(Root, "config", "config.yaml")) if err != nil { panic(err.Error())