X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7ba6bdf406546ec225baea49dbe6ccbf02e70f53..97b8ba6c2d2023f66cab62b7062cd0dbff837c67:/services/keepstore/pull_worker.go?ds=sidebyside diff --git a/services/keepstore/pull_worker.go b/services/keepstore/pull_worker.go index d53d1060e7..e42b6e4b89 100644 --- a/services/keepstore/pull_worker.go +++ b/services/keepstore/pull_worker.go @@ -1,6 +1,7 @@ package main import ( + "context" "crypto/rand" "fmt" "git.curoverse.com/arvados.git/sdk/go/keepclient" @@ -94,6 +95,6 @@ func GenerateRandomAPIToken() string { // Put block var PutContent = func(content []byte, locator string) (err error) { - _, err = PutBlock(content, locator) + _, err = PutBlock(context.TODO(), content, locator) return }