Generate a PEL if any attentions found in hardware
analyzer::analyzeHardware() will create a PEL, if any attentions are
found in hardware, instead of requiring the caller to create the PEL.
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ie5319eca56cbeba4ddc25bcb897d4d143edde742
diff --git a/main_nl.cpp b/main_nl.cpp
index 88a5a5f..a9460de 100644
--- a/main_nl.cpp
+++ b/main_nl.cpp
@@ -45,12 +45,7 @@
// Either analyze (application mode) or daemon mode
if (true == getCliOption(argv, argv + argc, "--analyze"))
{
- // errors that were isolated
- std::map<std::string, std::string> errors;
-
- rc = analyzer::analyzeHardware(errors); // analyze hardware
-
- printf("analyzer isolated %i error(s)\n", (int)errors.size());
+ rc = analyzer::analyzeHardware(); // analyze hardware
}
// daemon mode
else