Commit d52ccd59 authored by szh's avatar szh

update

parent 725a93b8
......@@ -188,7 +188,8 @@ func MakeSureNodeRunning() error {
tlog.Error("MakeSureNodeRunning SetPai", "err", pai.Err)
//判断未启动时 检查配置文件是否正常
if strings.Contains(pai.Err, "8802") {
toml := path.Dir(Bityuan.Path) + "/bityuan.toml"
toml := GetAbsPath(setting.BityuanSetting.Name) + "/bityuan.toml"
tlog.Info("toml ", "path", toml)
configSize, err := util.GetFileSizeByBytes(toml)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment