From 203af988faa21558c85a410b9aced974cf1689a2 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 <31820853+zhengkunwang223@users.noreply.github.com> Date: Thu, 8 Jun 2023 10:58:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=90=AF=E5=8A=A8=20p?= =?UTF-8?q?anic=20=E9=97=AE=E9=A2=98=20(#1285)?= 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, 1 insertion(+), 2 deletions(-) diff --git a/backend/app/service/app_install.go b/backend/app/service/app_install.go index 8df81e823..b5d429d20 100644 --- a/backend/app/service/app_install.go +++ b/backend/app/service/app_install.go @@ -11,7 +11,6 @@ import ( "strconv" "strings" - "github.com/1Panel-dev/1Panel/backend/i18n" "github.com/1Panel-dev/1Panel/backend/utils/files" "gopkg.in/yaml.v3" @@ -362,7 +361,7 @@ func (a *AppInstallService) SyncAll(systemInit bool) error { if i.Status == constant.Installing || i.Status == constant.Upgrading { if systemInit { i.Status = constant.Error - i.Message = i18n.GetMsgByKey("ErrAppSystemRestart") + i.Message = "1Panel restart causes the task to terminate" _ = appInstallRepo.Save(context.Background(), &i) } continue