Skip to content

Commit

Permalink
Merge pull request #238 from filecoin-project/fix/missing_ctx
Browse files Browse the repository at this point in the history
fix: Use the wrong MetricsCtx
  • Loading branch information
LinZexiao authored Nov 16, 2022
2 parents baa132f + 14159e3 commit ab5d816
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/clients/gateway_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/filecoin-project/venus-market/v2/minermgr"
vCrypto "github.com/filecoin-project/venus/pkg/crypto"
types2 "github.com/filecoin-project/venus/venus-shared/types"
"github.com/ipfs-force-community/venus-common-utils/metrics"
"github.com/ipfs-force-community/metrics"
)

func newGatewayWalletClient(mctx metrics.MetricsCtx, mgr minermgr.IAddrMgr, nodeCfg *config.Signer) (ISinger, jsonrpc.ClientCloser, error) {
Expand Down
2 changes: 1 addition & 1 deletion api/clients/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
v1api "github.com/filecoin-project/venus/venus-shared/api/chain/v1"
api "github.com/filecoin-project/venus/venus-shared/api/gateway/v1"
types2 "github.com/filecoin-project/venus/venus-shared/types"
"github.com/ipfs-force-community/metrics"
"github.com/ipfs-force-community/venus-common-utils/builder"
"github.com/ipfs-force-community/venus-common-utils/metrics"
"github.com/ipfs-force-community/venus-gateway/marketevent"
types3 "github.com/ipfs-force-community/venus-gateway/types"
logging "github.com/ipfs/go-log/v2"
Expand Down

0 comments on commit ab5d816

Please sign in to comment.