10467: Use context.Background() for tests and background processes.
[arvados.git] / services / keepstore / pull_worker.go
index e42b6e4b89230cdbe4a40a99fc803044febe421c..12860bb662d91a1e31191fed2bccace97bc2ac30 100644 (file)
@@ -95,6 +95,6 @@ func GenerateRandomAPIToken() string {
 
 // Put block
 var PutContent = func(content []byte, locator string) (err error) {
-       _, err = PutBlock(context.TODO(), content, locator)
+       _, err = PutBlock(context.Background(), content, locator)
        return
 }