diff --git a/backend/app/service/runtime.go b/backend/app/service/runtime.go index ec6dcd89c..248bbf4f4 100644 --- a/backend/app/service/runtime.go +++ b/backend/app/service/runtime.go @@ -12,7 +12,6 @@ import ( "github.com/1Panel-dev/1Panel/backend/buserr" "github.com/1Panel-dev/1Panel/backend/constant" "github.com/1Panel-dev/1Panel/backend/global" - "github.com/1Panel-dev/1Panel/backend/i18n" cmd2 "github.com/1Panel-dev/1Panel/backend/utils/cmd" "github.com/1Panel-dev/1Panel/backend/utils/compose" "github.com/1Panel-dev/1Panel/backend/utils/docker" @@ -576,7 +575,7 @@ func (r *RuntimeService) SyncForRestart() error { for _, runtime := range runtimes { if runtime.Status == constant.RuntimeBuildIng || runtime.Status == constant.RuntimeReCreating || runtime.Status == constant.RuntimeStarting || runtime.Status == constant.RuntimeCreating { runtime.Status = constant.SystemRestart - runtime.Message = i18n.GetMsgByKey("SystemRestart") + runtime.Message = "System restart causing interrupt" _ = runtimeRepo.Save(&runtime) } } diff --git a/backend/app/service/website_ssl.go b/backend/app/service/website_ssl.go index 4c0f97d4b..a857363f0 100644 --- a/backend/app/service/website_ssl.go +++ b/backend/app/service/website_ssl.go @@ -495,7 +495,7 @@ func (w WebsiteSSLService) SyncForRestart() error { for _, ssl := range sslList { if ssl.Status == constant.SSLApply { ssl.Status = constant.SystemRestart - ssl.Message = i18n.GetMsgByKey("SystemRestart") + ssl.Message = "System restart causing interrupt" _ = websiteSSLRepo.Save(&ssl) } }