From e746a959af4cdcefabc1c923935dff82dd9ee8d3 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Tue, 11 Apr 2023 12:10:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=A8=E5=A4=87=E4=BB=BD?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E8=BF=94=E5=9B=9E=E4=BF=A1=E6=81=AF=20(#575)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/service/backup.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/service/backup.go b/backend/app/service/backup.go index 5ca9f59a6..556a77107 100644 --- a/backend/app/service/backup.go +++ b/backend/app/service/backup.go @@ -53,6 +53,7 @@ func NewIBackupService() IBackupService { func (u *BackupService) List() ([]dto.BackupInfo, error) { ops, err := backupRepo.List(commonRepo.WithOrderBy("created_at desc")) var dtobas []dto.BackupInfo + dtobas = append(dtobas, u.loadByType("LOCAL", ops)) dtobas = append(dtobas, u.loadByType("OSS", ops)) dtobas = append(dtobas, u.loadByType("S3", ops)) dtobas = append(dtobas, u.loadByType("SFTP", ops))