chore: export pprof cli commands
This commit is contained in:
+2
-2
@@ -61,7 +61,7 @@ var CommonCommands = []*cli.Command{
|
||||
LogCmd,
|
||||
WaitApiCmd,
|
||||
fetchParamCmd,
|
||||
pprofCmd,
|
||||
PprofCmd,
|
||||
VersionCmd,
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ var Commands = []*cli.Command{
|
||||
WithCategory("developer", fetchParamCmd),
|
||||
WithCategory("network", NetCmd),
|
||||
WithCategory("network", SyncCmd),
|
||||
pprofCmd,
|
||||
PprofCmd,
|
||||
VersionCmd,
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/filecoin-project/lotus/node/repo"
|
||||
)
|
||||
|
||||
var pprofCmd = &cli.Command{
|
||||
var PprofCmd = &cli.Command{
|
||||
Name: "pprof",
|
||||
Hidden: true,
|
||||
Subcommands: []*cli.Command{
|
||||
|
||||
Reference in New Issue
Block a user