Merge branch 'feat/sturdypost' into fix-sturdy-tests
This commit is contained in:
commit
2ffe9f8342
@ -135,6 +135,7 @@ var runCmd = &cli.Command{
|
|||||||
|
|
||||||
shutdownChan := make(chan struct{})
|
shutdownChan := make(chan struct{})
|
||||||
deps, err := getDeps(cctx, ctx)
|
deps, err := getDeps(cctx, ctx)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -328,10 +329,10 @@ func getDeps(cctx *cli.Context, ctx context.Context) (*Deps, error) {
|
|||||||
|
|
||||||
sa, err := StorageAuth(cfg.Apis.StorageRPCSecret)
|
sa, err := StorageAuth(cfg.Apis.StorageRPCSecret)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, xerrors.Errorf(`'%w' while parsing the config toml's
|
return xerrors.Errorf(`'%w' while parsing the config toml's
|
||||||
[Apis]
|
[Apis]
|
||||||
StorageRPCSecret=%v
|
StorageRPCSecret=%v
|
||||||
Get it from the JSON documents in ~/.lotus-miner/keystore called .PrivateKey`, err, cfg.Apis.StorageRPCSecret)
|
Get it with: jq .PrivateKey ~/.lotus-miner/keystore/MF2XI2BNNJ3XILLQOJUXMYLUMU`, err, cfg.Apis.StorageRPCSecret)
|
||||||
}
|
}
|
||||||
|
|
||||||
al := alerting.NewAlertingSystem(j)
|
al := alerting.NewAlertingSystem(j)
|
||||||
|
Loading…
Reference in New Issue
Block a user