1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-11 13:53:16 +00:00

Use empty context

This commit is contained in:
Mark Feit
2021-12-04 10:48:01 -05:00
parent 1661caeb92
commit 95b1227d93

View File

@@ -108,7 +108,7 @@ func CreateSwiftStorage(storageURL string, key string, threads int) (storage *Sw
arguments["protocol"] = "https" arguments["protocol"] = "https"
} }
ctx := context.Context() ctx := context.TODO
// Please refer to https://godoc.org/github.com/ncw/swift#Connection // Please refer to https://godoc.org/github.com/ncw/swift#Connection
connection := swift.Connection{ connection := swift.Connection{