fix info output
This commit is contained in:
parent
df56cb550e
commit
5b824eac0b
|
|
@ -37,6 +37,7 @@ func New(srvKey string, cfg any) {
|
||||||
|
|
||||||
// 配置文件不存在则读取Workspace配置文件
|
// 配置文件不存在则读取Workspace配置文件
|
||||||
if !utils.PathExists(cfp) {
|
if !utils.PathExists(cfp) {
|
||||||
|
printer.Info("[BSM - %s] Config File: %s Not Found, Read Workspace Public Config File...", srvKey, cfp)
|
||||||
cfp = fmt.Sprintf("workspace_%s_%s.yaml", strings.ToLower(env.Runtime.Workspace), env.Runtime.Mode)
|
cfp = fmt.Sprintf("workspace_%s_%s.yaml", strings.ToLower(env.Runtime.Workspace), env.Runtime.Mode)
|
||||||
cfp = filepath.Join(env.Runtime.Prefix, "etc", cfp)
|
cfp = filepath.Join(env.Runtime.Prefix, "etc", cfp)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue