This commit is contained in:
david 2024-03-01 23:42:33 +08:00
parent 2a9efb194b
commit 1cc7445b58
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ func getCurrentVersion(srv string) string {
cmd := exec.Command(env.MeshEnv.Prefix+srv, "--json") // 替换为适合操作系统的命令
output, err := cmd.Output()
fmt.Println(string(output), err)
if err != nil {
return " - "
}