go fmt ./client.go
This commit is contained in:
parent
4eaf89666f
commit
135186e33d
@ -356,9 +356,9 @@ The minimum value is 518400 (6 months).`,
|
|||||||
&CidBaseFlag,
|
&CidBaseFlag,
|
||||||
},
|
},
|
||||||
Action: func(cctx *cli.Context) error {
|
Action: func(cctx *cli.Context) error {
|
||||||
|
|
||||||
expectedArgsMsg := "expected 4 args: dataCid, miner, price, duration"
|
expectedArgsMsg := "expected 4 args: dataCid, miner, price, duration"
|
||||||
|
|
||||||
if !cctx.Args().Present() {
|
if !cctx.Args().Present() {
|
||||||
if cctx.Bool("manual-stateless-deal") {
|
if cctx.Bool("manual-stateless-deal") {
|
||||||
return xerrors.New("--manual-stateless-deal can not be combined with interactive deal mode: you must specify the " + expectedArgsMsg)
|
return xerrors.New("--manual-stateless-deal can not be combined with interactive deal mode: you must specify the " + expectedArgsMsg)
|
||||||
|
Loading…
Reference in New Issue
Block a user