dev
This commit is contained in:
parent
2a9efb194b
commit
1cc7445b58
|
@ -106,6 +106,7 @@ func getCurrentVersion(srv string) string {
|
||||||
|
|
||||||
cmd := exec.Command(env.MeshEnv.Prefix+srv, "--json") // 替换为适合操作系统的命令
|
cmd := exec.Command(env.MeshEnv.Prefix+srv, "--json") // 替换为适合操作系统的命令
|
||||||
output, err := cmd.Output()
|
output, err := cmd.Output()
|
||||||
|
fmt.Println(string(output), err)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return " - "
|
return " - "
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue