Merge pull request #9232 from filecoin-project/fix/gatewaytest-panic
cli: Don't panic with no providers in client retrieve
This commit is contained in:
commit
2532300156
@ -315,6 +315,9 @@ Examples:
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if eref == nil {
|
||||
return xerrors.Errorf("failed to find providers")
|
||||
}
|
||||
|
||||
if s != nil {
|
||||
eref.DAGs = append(eref.DAGs, lapi.DagSpec{DataSelector: s, ExportMerkleProof: cctx.Bool("car-export-merkle-proof")})
|
||||
|
Loading…
Reference in New Issue
Block a user