This commit is contained in:
david 2024-03-01 23:46:18 +08:00
parent 422e05c6f3
commit 64cd178e79
1 changed files with 1 additions and 0 deletions

View File

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