未验证 提交 cd262239 编写于 作者: W wgcn 提交者: GitHub

remove redundant slashes (#18750)

Signed-off-by: Nwanggang11335 <wanggang11335@autohome.com.cn>
Signed-off-by: Nwanggang11335 <wanggang11335@autohome.com.cn>
Co-authored-by: Nwanggang11335 <wanggang11335@autohome.com.cn>
上级 c8bf2823
......@@ -158,7 +158,7 @@ func (gp *BaseTable) initConfPath() string {
configDir = runPath + "/configs/"
if _, err := os.Stat(configDir); err != nil {
_, fpath, _, _ := runtime.Caller(0)
configDir = path.Dir(fpath) + "/../../../configs/"
configDir = path.Dir(fpath) + "/../../../configs"
}
}
return configDir
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册