Merge branch 'raulk/refactor-rpc' into raulk/itests
This commit is contained in:
commit
f6a7f21def
@ -1,7 +1,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
|
||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
@ -82,10 +81,6 @@ var runCmd = &cli.Command{
|
|||||||
Action: func(cctx *cli.Context) error {
|
Action: func(cctx *cli.Context) error {
|
||||||
log.Info("Starting lotus gateway")
|
log.Info("Starting lotus gateway")
|
||||||
|
|
||||||
ctx := lcli.ReqContext(cctx)
|
|
||||||
ctx, cancel := context.WithCancel(ctx)
|
|
||||||
defer cancel()
|
|
||||||
|
|
||||||
// Register all metric views
|
// Register all metric views
|
||||||
if err := view.Register(
|
if err := view.Register(
|
||||||
metrics.ChainNodeViews...,
|
metrics.ChainNodeViews...,
|
||||||
|
Loading…
Reference in New Issue
Block a user