ServiceData class query for system checkstop
When managing resolutions, we'll need to know if a system checkstop has
occurred. This information can be retrieved from the isolation data, but
that object is not available to the resolutions. So storing it in the
service data as well.
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Icef801f09bdfa9591106c4889eea624d69f12057
diff --git a/test/service_data_test.cpp b/test/service_data_test.cpp
index e181558..01f4556 100644
--- a/test/service_data_test.cpp
+++ b/test/service_data_test.cpp
@@ -12,7 +12,7 @@
libhei::Signature rootCause{chip, 0xabcd, 0, 0,
libhei::ATTN_TYPE_CHECKSTOP};
- ServiceData sd{rootCause};
+ ServiceData sd{rootCause, true};
sd.addCallout(std::make_shared<HardwareCallout>("Test location 1",
Callout::Priority::HIGH));