diff --git a/cmd/commands/ctl.go b/cmd/commands/ctl.go index caf42c5..af8f43a 100644 --- a/cmd/commands/ctl.go +++ b/cmd/commands/ctl.go @@ -10,7 +10,7 @@ import ( func getFilePath(srv *Service) (binPath, logsPath string) { binPath = filepath.Join(env.MeshEnv.Prefix, srv.ServiceKey) - logsPath = filepath.Join(env.MeshEnv.Prefix, "logs", srv.ServiceKey+"@"+srv.Version+".log") + logsPath = filepath.Join(env.MeshEnv.Prefix, "logs", srv.ServiceKey+"-"+srv.Version+".log") return } diff --git a/cmd/commands/install.go b/cmd/commands/install.go index aabdb88..f465ff1 100644 --- a/cmd/commands/install.go +++ b/cmd/commands/install.go @@ -64,7 +64,7 @@ func installExecute(srv string) { DownloadFile(downUrl, binPath, func(length, downLen int64) { fmt.Fprintf(os.Stdout, "Total:%d KB, Current:%d KB, Percent:%.2f%%\r", length, downLen, (float32(downLen)/float32(length))*100) }) - + fmt.Println("[6/6] Download Success!") fmt.Println("[6/6] Restart Microservice:", srv) service.Start() fmt.Println("Install Successful!")