Show which registry hives are OK in summary
This commit is contained in:
parent
561d57d9a2
commit
185ddf3103
1 changed files with 11 additions and 1 deletions
|
|
@ -425,7 +425,17 @@ pub fn parse_registry_hives(
|
||||||
diag_group.result = String::from("OK");
|
diag_group.result = String::from("OK");
|
||||||
diag_group.logs.push(Log {
|
diag_group.logs.push(Log {
|
||||||
label: String::from("Registry"),
|
label: String::from("Registry"),
|
||||||
summary: Vec::new(),
|
summary: if hive.is_some() {
|
||||||
|
vec![DVLine {
|
||||||
|
line_parts: vec![
|
||||||
|
format!("Registry ({}): ", hive.unwrap()),
|
||||||
|
String::from("OK"),
|
||||||
|
],
|
||||||
|
line_colors: vec![Color::Reset, Color::Green],
|
||||||
|
}]
|
||||||
|
} else {
|
||||||
|
Vec::new()
|
||||||
|
},
|
||||||
raw: output_text,
|
raw: output_text,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue