Skip to content

Commit

Permalink
chore: update go-libipfs and offlineGatewayErrWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
aschmahmann committed Mar 15, 2023
1 parent c74c915 commit dce71a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/corehttp/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func offlineErrWrap(err error) error {
return err
}

func (o *offlineGatewayErrWrapper) Get(ctx context.Context, path gateway.ImmutablePath) (gateway.ContentPathMetadata, files.Node, error) {
func (o *offlineGatewayErrWrapper) Get(ctx context.Context, path gateway.ImmutablePath) (gateway.ContentPathMetadata, *gateway.GetResponse, error) {
md, n, err := o.gwimpl.Get(ctx, path)
err = offlineErrWrap(err)
return md, n, err
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ require (
github.com/ipfs/go-ipld-git v0.1.1
github.com/ipfs/go-ipld-legacy v0.1.1
github.com/ipfs/go-ipns v0.3.0
github.com/ipfs/go-libipfs v0.6.2-0.20230314140458-ae65e02379d4
github.com/ipfs/go-libipfs v0.6.2-0.20230315110647-5f7a83313f98
github.com/ipfs/go-log v1.0.5
github.com/ipfs/go-log/v2 v2.5.1
github.com/ipfs/go-merkledag v0.9.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,8 @@ github.com/ipfs/go-ipld-legacy v0.1.1 h1:BvD8PEuqwBHLTKqlGFTHSwrwFOMkVESEvwIYwR2
github.com/ipfs/go-ipld-legacy v0.1.1/go.mod h1:8AyKFCjgRPsQFf15ZQgDB8Din4DML/fOmKZkkFkrIEg=
github.com/ipfs/go-ipns v0.3.0 h1:ai791nTgVo+zTuq2bLvEGmWP1M0A6kGTXUsgv/Yq67A=
github.com/ipfs/go-ipns v0.3.0/go.mod h1:3cLT2rbvgPZGkHJoPO1YMJeh6LtkxopCkKFcio/wE24=
github.com/ipfs/go-libipfs v0.6.2-0.20230314140458-ae65e02379d4 h1:5u10ze5m4n6depYS/t8BvXCWULtbwY3lwLJiVC1ltJo=
github.com/ipfs/go-libipfs v0.6.2-0.20230314140458-ae65e02379d4/go.mod h1:UULEVZauz6VupuiDbbrq6mQGDmyqqAOrc+spk7e6FjI=
github.com/ipfs/go-libipfs v0.6.2-0.20230315110647-5f7a83313f98 h1:NXFwAnplkwnLgoCOL0qkw6T3HcLHiwk3uPug+3nX778=
github.com/ipfs/go-libipfs v0.6.2-0.20230315110647-5f7a83313f98/go.mod h1:UULEVZauz6VupuiDbbrq6mQGDmyqqAOrc+spk7e6FjI=
github.com/ipfs/go-log v0.0.1/go.mod h1:kL1d2/hzSpI0thNYjiKfjanbVNU+IIGA/WnNESY9leM=
github.com/ipfs/go-log v1.0.2/go.mod h1:1MNjMxe0u6xvJZgeqbJ8vdo2TKaGwZ1a0Bpza+sr2Sk=
github.com/ipfs/go-log v1.0.3/go.mod h1:OsLySYkwIbiSUR/yBTdv1qPtcE4FW3WPWk/ewz9Ru+A=
Expand Down

0 comments on commit dce71a5

Please sign in to comment.