Activation: create associations
Create activation, functional, activate associations during PSU update.
Tested: With dummy psu update service, verify the assocations are
created when the PSU update is completed, and not created
when PSU update fails.
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: I3d457e65b55066b93f7fc9a3311093dcec05d020
diff --git a/src/item_updater.cpp b/src/item_updater.cpp
index 50c1a26..e100381 100644
--- a/src/item_updater.cpp
+++ b/src/item_updater.cpp
@@ -190,7 +190,7 @@
const AssociationList& assocs)
{
return std::make_unique<Activation>(bus, path, versionId, extVersion,
- activationStatus, assocs);
+ activationStatus, assocs, this);
}
void ItemUpdater::createPsuObject(const std::string& psuInventoryPath,