[VOL-1469] Missing yield keyword
This commit fixes the issue with missing yield keywork in the
ponsim adapters.
Change-Id: Ie5344a561c63d038a8eb8fefcf1528ab7444825d
diff --git a/python/adapters/ponsim_olt/ponsim_olt.py b/python/adapters/ponsim_olt/ponsim_olt.py
index 06c1235..ff5ee00 100644
--- a/python/adapters/ponsim_olt/ponsim_olt.py
+++ b/python/adapters/ponsim_olt/ponsim_olt.py
@@ -265,7 +265,7 @@
self.pm_metrics = AdapterPmMetrics(device)
pm_config = self.pm_metrics.make_proto()
log.info("initial-pm-config", pm_config=pm_config)
- self.core_proxy.device_pm_config_update(pm_config, init=True)
+ yield self.core_proxy.device_pm_config_update(pm_config, init=True)
# Setup alarm handler
self.alarms = AdapterAlarms(self.adapter, device)