mirror of
https://github.com/acepanel/panel.git
synced 2026-02-08 11:59:48 +08:00
feat: 重写s3客户端
This commit is contained in:
@@ -405,6 +405,7 @@ func (r *backupRepo) getStorage(backupStorage biz.BackupStorage) (storage.Storag
|
||||
AccessKeyID: backupStorage.Info.AccessKey,
|
||||
SecretAccessKey: backupStorage.Info.SecretKey,
|
||||
Endpoint: backupStorage.Info.Endpoint,
|
||||
Scheme: backupStorage.Info.Scheme,
|
||||
BasePath: backupStorage.Info.Path,
|
||||
AddressingStyle: storage.S3AddressingStyle(backupStorage.Info.Style),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user