X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/da13bb400f87fdd4157146e2d0b171b730fa3208..6b30f7c9a223cc1d22974085f6df7aa62393cc55:/services/keepstore/pull_worker.go?ds=sidebyside diff --git a/services/keepstore/pull_worker.go b/services/keepstore/pull_worker.go index e42b6e4b89..3c6278d478 100644 --- a/services/keepstore/pull_worker.go +++ b/services/keepstore/pull_worker.go @@ -7,8 +7,9 @@ import ( "git.curoverse.com/arvados.git/sdk/go/keepclient" "io" "io/ioutil" - "log" "time" + + log "github.com/Sirupsen/logrus" ) // RunPullWorker is used by Keepstore to initiate pull worker channel goroutine. @@ -95,6 +96,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 }