Revert "VOL-3049 Alarm sync and audit"
This reverts commit a2592fe97dcff5cef1df67066812616230f3a1a9.
Reason for revert: Crashloop backoff in deployment.
Change-Id: I436ee4a02f3b2b45027452833cbbb798f9dedf7d
diff --git a/internal/pkg/onuadaptercore/device_handler.go b/internal/pkg/onuadaptercore/device_handler.go
index b8eb2fa..3422c43 100644
--- a/internal/pkg/onuadaptercore/device_handler.go
+++ b/internal/pkg/onuadaptercore/device_handler.go
@@ -3163,8 +3163,7 @@
dh.setAlarmManagerIsRunning(true)
if stop := <-dh.stopAlarmManager; stop {
logger.Debugw(ctx, "stopping-collector-for-onu", log.Fields{"device-id": dh.device.Id})
- dh.pAlarmMgr.stopAlarmAuditTimer <- struct{}{}
- dh.pAlarmMgr.stopProcessingOmciMessages <- true // Stop the OMCI routines if any(This will stop the fsms also)
+ dh.pAlarmMgr.stopProcessingOmciMessages <- true // Stop the OMCI routines if any
dh.setAlarmManagerIsRunning(false)
}