Merge branch 'feat/sturdypost' into fix-sturdy-tests

This commit is contained in:
Andrew Jackson (Ajax) 2023-11-14 19:05:00 -06:00 committed by GitHub
commit 2ffe9f8342
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,6 +135,7 @@ var runCmd = &cli.Command{
shutdownChan := make(chan struct{})
deps, err := getDeps(cctx, ctx)
if err != nil {
return err
}
@ -328,10 +329,10 @@ func getDeps(cctx *cli.Context, ctx context.Context) (*Deps, error) {
sa, err := StorageAuth(cfg.Apis.StorageRPCSecret)
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]
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)