From ee941b09c2794cb7e245ece66704f3ba18208fba Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Wed, 22 Feb 2023 14:12:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3app=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E8=BF=87=E7=A8=8B=E4=B8=AD=E7=82=B9=E5=90=8C=E6=AD=A5=E9=94=81?= =?UTF-8?q?=E5=BA=93=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/service/app_install.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/app/service/app_install.go b/backend/app/service/app_install.go index b5a308a73..83644f522 100644 --- a/backend/app/service/app_install.go +++ b/backend/app/service/app_install.go @@ -213,6 +213,9 @@ func (a AppInstallService) SyncAll() error { } go func() { for _, i := range allList { + if i.Status == constant.Installing { + continue + } if err := syncById(i.ID); err != nil { global.LOG.Errorf("sync install app[%s] error,mgs: %s", i.Name, err.Error()) }