Set Critical severity for Blackout errors
Previously the PEL code for Blackout had severity default to critical.
This change allows fine-tuned control over severity to only set the
critical level for this Blackout event.
Signed-off-by: Mike Capps <mikepcapps@gmail.com>
Change-Id: I6f0b3604141b50c316c5bd04f69bf1c4d6fe6feb
diff --git a/chassis_state_manager.cpp b/chassis_state_manager.cpp
index 1da1130..60be584 100644
--- a/chassis_state_manager.cpp
+++ b/chassis_state_manager.cpp
@@ -150,7 +150,7 @@
}
else
{
- report<Blackout>();
+ report<Blackout>(Entry::Level::Critical);
}
}
else