azure: Create container if it does not exist

This commit is contained in:
Alexander Neumann 2017-08-06 20:18:19 +02:00
parent a726c91116
commit d91d89eef6

View file

@ -498,7 +498,7 @@ func create(s string, opts options.Options) (restic.Backend, error) {
case "s3": case "s3":
return s3.Create(cfg.(s3.Config)) return s3.Create(cfg.(s3.Config))
case "azure": case "azure":
return azure.Open(cfg.(azure.Config)) return azure.Create(cfg.(azure.Config))
case "swift": case "swift":
return swift.Open(cfg.(swift.Config)) return swift.Open(cfg.(swift.Config))
case "b2": case "b2":