mirror of
https://github.com/restic/restic.git
synced 2026-04-28 07:19:27 +00:00
Merge pull request #1046 from restic/s3-split-open
s3: Split Create() from Open()
This commit is contained in:
@@ -471,7 +471,7 @@ func create(s string, opts options.Options) (restic.Backend, error) {
|
||||
case "sftp":
|
||||
return sftp.Create(cfg.(sftp.Config))
|
||||
case "s3":
|
||||
return s3.Open(cfg.(s3.Config))
|
||||
return s3.Create(cfg.(s3.Config))
|
||||
case "swift":
|
||||
return swift.Open(cfg.(swift.Config))
|
||||
case "b2":
|
||||
|
||||
Reference in New Issue
Block a user