Fix Association interface
Mapper changed to only allow the new interface, update
to it.
Tested: Mapper showed all associations
Change-Id: I8b252c70e9f27b083a438393c731fbeb3e2ca0e5
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/Utils.cpp b/src/Utils.cpp
index a9c2398..2d75d9d 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -254,7 +254,7 @@
std::vector<Association> associations;
associations.push_back(
Association("chassis", "all_sensors", p.parent_path().string()));
- association->register_property("associations", associations);
+ association->register_property("Associations", associations);
association->initialize();
}
}
@@ -272,7 +272,7 @@
Association("inventory", "sensors", p.parent_path().string()));
associations.push_back(
Association("chassis", "all_sensors", chassisPath));
- association->register_property("associations", associations);
+ association->register_property("Associations", associations);
association->initialize();
}
}