zhangmeng
2019-12-24 8667f4353f14a46218b2bff25ffd5c37e90b0efa
update
3个文件已修改
6 ■■■■■ 已修改文件
app/slave/slave.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
main.go 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
util/common.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
app/slave/slave.go
@@ -26,7 +26,7 @@
        logo.Errorln("Slave Open so File: ", commSoFile, " Error: ", err)
        return false
    }
    return true
    return false
}
// Run run
main.go
@@ -112,6 +112,8 @@
    } else if role == roleSlave {
        ret = slave.Run(ctx, configPath, runType, id, gpu, shm)
    } else if role == "test" {
        ret = slave.TwoPluginConflict("./libcomm.so", "./zconf/Yolo.json")
    }
    if ret {
util/common.go
@@ -65,7 +65,7 @@
        }
    }
    if file == nil {
        fmt.Println("Read All Config Files Failed, Use Default, example LogFile ./log/analysis-'type'")
        fmt.Println(`Read All Log Config Files Failed, Use Default, "./log/analysis-[type]"`)
        return
    }
    yamlString := string(file)