substrate: sysinfo: Expose failed hardware requirements (#2144)
The check_hardware functions does not give us too much information as to
what is failing, so let's return the list of failed metrics, so that callers can print
it.
This would make debugging easier, rather than try to guess which
dimension is actually failing.
Signed-off-by:
Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Showing
- Cargo.lock 1 addition, 0 deletionsCargo.lock
- cumulus/parachain-template/node/src/service.rs 7 additions, 3 deletionscumulus/parachain-template/node/src/service.rs
- cumulus/polkadot-parachain/src/service.rs 4 additions, 3 deletionscumulus/polkadot-parachain/src/service.rs
- polkadot/node/service/src/lib.rs 8 additions, 4 deletionspolkadot/node/service/src/lib.rs
- substrate/bin/node/cli/src/service.rs 8 additions, 4 deletionssubstrate/bin/node/cli/src/service.rs
- substrate/client/sysinfo/Cargo.toml 1 addition, 0 deletionssubstrate/client/sysinfo/Cargo.toml
- substrate/client/sysinfo/src/sysinfo.rs 60 additions, 6 deletionssubstrate/client/sysinfo/src/sysinfo.rs
Please register or sign in to comment