gs: replace usage of context.Background()

This commit is contained in:
Michael Eischer committed 2023-04-14 22:32:15 +02:00
1 parent 616926d2c1
commit c934c99d41
3 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -801,7 +801,7 @@ func create(ctx context.Context, s string, opts options.Options) (restic.Backend
case "s3":
be, err = s3.Create(ctx, cfg.(s3.Config), rt)
case "gs":
be, err = gs.Create(cfg.(gs.Config), rt)
be, err = gs.Create(ctx, cfg.(gs.Config), rt)
case "azure":
be, err = azure.Create(ctx, cfg.(azure.Config), rt)
case "swift":