diff --git a/backend/app/service/app_utils.go b/backend/app/service/app_utils.go index 693235b78..f3c04c066 100644 --- a/backend/app/service/app_utils.go +++ b/backend/app/service/app_utils.go @@ -455,7 +455,7 @@ func upgradeInstall(installID uint, detailID uint, backup, pullImage bool) error upErr error backupFile string ) - global.LOG.Infof(i18n.GetMsgByKey("UpgradeAppStart")) + global.LOG.Infof(i18n.GetMsgWithName("UpgradeAppStart", install.Name, nil)) if backup { backupRecord, err := NewIBackupService().AppBackup(dto.CommonBackup{Name: install.App.Key, DetailName: install.Name}) if err == nil { @@ -587,7 +587,8 @@ func upgradeInstall(installID uint, detailID uint, backup, pullImage bool) error } if pullImage { - images, err := composeV2.GetDockerComposeImages(install.Name, content, []byte(detail.DockerCompose)) + projectName := strings.ToLower(install.Name) + images, err := composeV2.GetDockerComposeImages(projectName, content, []byte(detail.DockerCompose)) if err != nil { upErr = err return