Move root cause signature into service data object

This allows the analysis code to access the signature from the service
data object instead of passing around two variables in all of those
functions.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ib85386759068aee26dc1e8b9e8d609daf7e63c1b
diff --git a/analyzer/analyzer_main.cpp b/analyzer/analyzer_main.cpp
index 3cc1d65..c616f7e 100644
--- a/analyzer/analyzer_main.cpp
+++ b/analyzer/analyzer_main.cpp
@@ -29,12 +29,10 @@
 
 /**
  * @brief Will create and submit a PEL using the given data.
- * @param i_rootCause A signature defining the attention root cause.
  * @param i_isoData   The data gathered during isolation (for FFDC).
  * @param i_servData  Data regarding service actions gathered during analysis.
  */
-void createPel(const libhei::Signature& i_rootCause,
-               const libhei::IsolationData& i_isoData,
+void createPel(const libhei::IsolationData& i_isoData,
                const ServiceData& i_servData);
 
 //------------------------------------------------------------------------------
@@ -144,12 +142,12 @@
 
         // TODO: Perform service actions based on the root cause. The default
         // callout if none other exist is level 2 support.
-        ServiceData servData{};
+        ServiceData servData{rootCause};
         servData.addCallout(std::make_shared<ProcedureCallout>(
             ProcedureCallout::NEXTLVL, Callout::Priority::HIGH));
 
         // Create and commit a PEL.
-        createPel(rootCause, i_isoData, servData);
+        createPel(i_isoData, servData);
     }
 
     return attnFound;