dev
This commit is contained in:
parent
304716e8fc
commit
5c2136561c
|
@ -108,7 +108,6 @@ 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