Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Commit

Permalink
change flag name to market-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hunjixin authored and ta0li committed Jan 10, 2022
1 parent 96bdf47 commit 5c506bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/venus-sealer/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ var initCmd = &cli.Command{
},

&cli.StringFlag{
Name: "market-node",
Name: "market-mode",
Value: "solo",
Usage: "indicate the deployment method of the venus-market, one of `solo`, `pool`, Default: `solo`",
},
Expand Down Expand Up @@ -365,7 +365,7 @@ func parseServiceFlag(cfg *config.StorageMiner, cctx *cli.Context) error {
cfg.RegisterProof.Token = cctx.String("gateway-token")
}

cfg.MarketNode.Mode = cctx.String("market-node")
cfg.MarketNode.Mode = cctx.String("market-mode")
cfg.MarketNode.Url = cctx.String("market-url")
if cctx.IsSet("market-token") {
cfg.MarketNode.Token = cctx.String("market-token")
Expand Down

0 comments on commit 5c506bc

Please sign in to comment.