aboutsummaryrefslogtreecommitdiff
path: root/weed/replication/sink/b2sink/b2_sink.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/replication/sink/b2sink/b2_sink.go')
-rw-r--r--weed/replication/sink/b2sink/b2_sink.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/replication/sink/b2sink/b2_sink.go b/weed/replication/sink/b2sink/b2_sink.go
index 28a10b195..90f77f441 100644
--- a/weed/replication/sink/b2sink/b2_sink.go
+++ b/weed/replication/sink/b2sink/b2_sink.go
@@ -99,7 +99,7 @@ func (g *B2Sink) CreateEntry(key string, entry *filer_pb.Entry, signatures []int
}
totalSize := filer.FileSize(entry)
- chunkViews := filer.ViewFromChunks(g.filerSource.LookupFileId, entry.GetChunks(), 0, int64(totalSize))
+ chunkViews := filer.ViewFromChunks(context.Background(), g.filerSource.LookupFileId, entry.GetChunks(), 0, int64(totalSize))
bucket, err := g.client.Bucket(context.Background(), g.bucket)
if err != nil {