mirror of
https://github.com/restic/restic.git
synced 2025-12-15 18:12:25 +00:00
Upgrade minio sdk to v7
This changes are primarily straightforward modifications to pass the parameters in the now expected way.
This commit is contained in:
@@ -758,7 +758,7 @@ func create(s string, opts options.Options) (restic.Backend, error) {
|
||||
case "sftp":
|
||||
return sftp.Create(cfg.(sftp.Config))
|
||||
case "s3":
|
||||
return s3.Create(cfg.(s3.Config), rt)
|
||||
return s3.Create(globalOptions.ctx, cfg.(s3.Config), rt)
|
||||
case "gs":
|
||||
return gs.Create(cfg.(gs.Config), rt)
|
||||
case "azure":
|
||||
|
||||
Reference in New Issue
Block a user