dev
This commit is contained in:
parent
64cd178e79
commit
304716e8fc
|
@ -105,7 +105,7 @@ func getSrvStatus(srv string) PsTable {
|
|||
func getCurrentVersion(srv string) string {
|
||||
var data map[string]string
|
||||
|
||||
execbin := filepath.Join(env.MeshEnv.Prefix + srv)
|
||||
execbin := filepath.Join(env.MeshEnv.Prefix, srv)
|
||||
cmd := exec.Command(execbin, "--json") // 替换为适合操作系统的命令
|
||||
output, err := cmd.Output()
|
||||
fmt.Println(string(output), err)
|
||||
|
|
Loading…
Reference in New Issue