10877: Configurable base URL for Azure storage, e.g., StorageBaseURL: core.usgovcloud...
[arvados.git] / services / keepstore / pull_worker.go
index e42b6e4b89230cdbe4a40a99fc803044febe421c..3c6278d478d3d897982b2b6f8c9a166c505e6433 100644 (file)
@@ -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
 }