From d91d89eef6eac52e5f6d629961246cdf141073a0 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 6 Aug 2017 20:18:19 +0200 Subject: [PATCH] azure: Create container if it does not exist --- cmd/restic/global.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/restic/global.go b/cmd/restic/global.go index ca6ca65b1..a083d27ed 100644 --- a/cmd/restic/global.go +++ b/cmd/restic/global.go @@ -498,7 +498,7 @@ func create(s string, opts options.Options) (restic.Backend, error) { case "s3": return s3.Create(cfg.(s3.Config)) case "azure": - return azure.Open(cfg.(azure.Config)) + return azure.Create(cfg.(azure.Config)) case "swift": return swift.Open(cfg.(swift.Config)) case "b2":