[VOL-4525] openonuAdapterGo - reconciling of ONU falls back from status success to falied
Change-Id: I177bcdcb75990d6cc0860dcce114ac0a39d2eee7
diff --git a/internal/pkg/core/device_handler.go b/internal/pkg/core/device_handler.go
index a26246c..3cbd160 100755
--- a/internal/pkg/core/device_handler.go
+++ b/internal/pkg/core/device_handler.go
@@ -1053,14 +1053,14 @@
log.Fields{"device-id": dh.DeviceID})
dh.stopReconciling(ctx, true, cWaitReconcileFlowAbortOnSuccess)
if pDevEntry != nil {
- pDevEntry.SendChReconcilingFlowsFinished(true)
+ pDevEntry.SendChReconcilingFlowsFinished(ctx, true)
}
} else {
logger.Errorw(ctx, "reconciling - timeout waiting for reconciling flows for all UNI's to be finished!",
log.Fields{"device-id": dh.DeviceID})
dh.stopReconciling(ctx, false, cWaitReconcileFlowAbortOnError)
if pDevEntry != nil {
- pDevEntry.SendChReconcilingFlowsFinished(false)
+ pDevEntry.SendChReconcilingFlowsFinished(ctx, false)
}
return
}