mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
解决无法读取工作节点语言问题
This commit is contained in:
@@ -165,7 +165,7 @@ func GetLangLocal(lang entity.Lang) entity.Lang {
|
||||
}
|
||||
|
||||
func GetLangRemote(nodeId string, lang entity.Lang) (entity.Lang, error) {
|
||||
l, err := RpcClientGetLang(nodeId, lang.Name)
|
||||
l, err := RpcClientGetLang(nodeId, lang.ExecutableName)
|
||||
if err != nil {
|
||||
return l, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user