diff --git a/cmd/commands/check.go b/cmd/commands/check.go index 2e96683..9f1c657 100644 --- a/cmd/commands/check.go +++ b/cmd/commands/check.go @@ -120,7 +120,7 @@ func serviceExecute(ls []LocalServices) { } else { service.Srv.Stop() downUrl := service.Srv.OssUrl + service.Srv.FilePath - fmt.Println("Check Microservice", service.Srv.ServiceKey, service.Srv.Version, downUrl) + fmt.Println("Update Microservice", service.Srv.ServiceKey, service.Srv.Version, downUrl) binPath := filepath.Join(env.MeshEnv.Prefix, service.Srv.ServiceKey) 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)