dev
This commit is contained in:
parent
422e05c6f3
commit
64cd178e79
|
@ -108,6 +108,7 @@ func getCurrentVersion(srv string) string {
|
||||||
execbin := filepath.Join(env.MeshEnv.Prefix + srv)
|
execbin := filepath.Join(env.MeshEnv.Prefix + srv)
|
||||||
cmd := exec.Command(execbin, "--json") // 替换为适合操作系统的命令
|
cmd := exec.Command(execbin, "--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