Skip to content

Commit

Permalink
Merge pull request ipfs/kubo#9092 from ipfs/release-v0.13.1
Browse files Browse the repository at this point in the history
Release v0.13.1

This commit was moved from ipfs/kubo@8ffc7a8
  • Loading branch information
aschmahmann committed Jul 6, 2022
2 parents 444e066 + add052c commit 4ae48d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gateway/core/corehttp/gateway_handler_car.go
Expand Up @@ -81,12 +81,12 @@ func (i *gatewayHandler) serveCAR(ctx context.Context, w http.ResponseWriter, r
i.carStreamGetMetric.WithLabelValues(contentPath.Namespace()).Observe(time.Since(begin).Seconds())
}

// FIXME(@Jorropo): https://github.com/ipld/go-car/issues/315
type dagStore struct {
dag coreiface.APIDagService
ctx context.Context
}

func (ds dagStore) Get(c cid.Cid) (blocks.Block, error) {
obj, err := ds.dag.Get(ds.ctx, c)
return obj, err
func (ds dagStore) Get(_ context.Context, c cid.Cid) (blocks.Block, error) {
return ds.dag.Get(ds.ctx, c)
}

0 comments on commit 4ae48d6

Please sign in to comment.