Merge pull request #8340 from filecoin-project/arajasek-patch-1

Shed: fix error message
This commit is contained in:
Łukasz Magiera 2022-03-17 17:48:02 +01:00 committed by GitHub
commit 18987f92ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -379,7 +379,7 @@ var mmProposeChangeWorker = &cli.Command{
ArgsUsage: "[newWorker]",
Action: func(cctx *cli.Context) error {
if !cctx.Args().Present() {
return fmt.Errorf("must pass new owner address")
return fmt.Errorf("must pass new worker address")
}
api, closer, err := lcli.GetFullNodeAPI(cctx)
@ -476,7 +476,7 @@ var mmConfirmChangeWorker = &cli.Command{
ArgsUsage: "[newWorker]",
Action: func(cctx *cli.Context) error {
if !cctx.Args().Present() {
return fmt.Errorf("must pass new owner address")
return fmt.Errorf("must pass new worker address")
}
api, closer, err := lcli.GetFullNodeAPI(cctx)