From 65cdca43c12eccb72d8970a02bc7c76e92dfc9ff Mon Sep 17 00:00:00 2001 From: yanweidong Date: Thu, 21 Mar 2024 18:19:05 +0800 Subject: [PATCH] fix --- cmd/commands/check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)