Fix Associations

It was spelled wrong. Also, there is no need to compare
against the local object if it is globally critical, so
make the check easier.

Tested: Made a drive error and the led blinked

Change-Id: I52590f0888380a6d7460e9220d814174cb17a52b
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/callback-manager/src/callback_manager.cpp b/callback-manager/src/callback_manager.cpp
index 29ec3a1..3eba4b1 100644
--- a/callback-manager/src/callback_manager.cpp
+++ b/callback-manager/src/callback_manager.cpp
@@ -271,7 +271,7 @@
                           << "\n";
             }
 
-            auto findAssociations = values.find("associations");
+            auto findAssociations = values.find("Associations");
             if (findAssociations == values.end())
             {
                 return;
@@ -319,7 +319,7 @@
 
             bool fatal = globalCritical && localCritical;
             bool critical = globalWarning && localCritical;
-            bool warning = globalWarning && localWarning;
+            bool warning = globalWarning && !critical;
 
             fatalAssertMap[message.get_path()]["association"] = fatal;
             criticalAssertMap[message.get_path()]["association"] = critical;