block/manager.rs: Display scrub-next-run.
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
53d09eb00f
commit
148b66b843
1 changed files with 3 additions and 0 deletions
|
@ -185,6 +185,9 @@ impl BlockManager {
|
||||||
vars.register_ro(&self.scrub_persister, "scrub-last-completed", |p| {
|
vars.register_ro(&self.scrub_persister, "scrub-last-completed", |p| {
|
||||||
p.get_with(|x| msec_to_rfc3339(x.time_last_complete_scrub))
|
p.get_with(|x| msec_to_rfc3339(x.time_last_complete_scrub))
|
||||||
});
|
});
|
||||||
|
vars.register_ro(&self.scrub_persister, "scrub-next-run", |p| {
|
||||||
|
p.get_with(|x| msec_to_rfc3339(x.time_next_run_scrub))
|
||||||
|
});
|
||||||
vars.register_ro(&self.scrub_persister, "scrub-corruptions_detected", |p| {
|
vars.register_ro(&self.scrub_persister, "scrub-corruptions_detected", |p| {
|
||||||
p.get_with(|x| x.corruptions_detected)
|
p.get_with(|x| x.corruptions_detected)
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue