This commit is contained in:
david 2024-03-01 23:47:01 +08:00
parent 64cd178e79
commit 304716e8fc
1 changed files with 1 additions and 1 deletions

View File

@ -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)