From 95b1227d934e16a58c7f287702ce8f1c2282e7b6 Mon Sep 17 00:00:00 2001 From: Mark Feit Date: Sat, 4 Dec 2021 10:48:01 -0500 Subject: [PATCH] Use empty context --- src/duplicacy_swiftstorage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duplicacy_swiftstorage.go b/src/duplicacy_swiftstorage.go index 700a4ac..0a92267 100644 --- a/src/duplicacy_swiftstorage.go +++ b/src/duplicacy_swiftstorage.go @@ -108,7 +108,7 @@ func CreateSwiftStorage(storageURL string, key string, threads int) (storage *Sw arguments["protocol"] = "https" } - ctx := context.Context() + ctx := context.TODO // Please refer to https://godoc.org/github.com/ncw/swift#Connection connection := swift.Connection{