[VOL-5374] Update go version to 1.23
- Upgraded Go version for compatibility with recent toolchain
- Synced with latest dependency requirements
Change-Id: Ib526d29ec9e5d5e08e51354b741541038dcedb35
Signed-off-by: Akash Kankanala <akash.kankanala@radisys.com>
diff --git a/internal/pkg/core/openolt_eventmgr.go b/internal/pkg/core/openolt_eventmgr.go
index f17814e..a8bc359 100644
--- a/internal/pkg/core/openolt_eventmgr.go
+++ b/internal/pkg/core/openolt_eventmgr.go
@@ -342,6 +342,7 @@
logger.Debugw(ctx, "olt-los-event-sent-to-kafka", log.Fields{"intf-id": ponIntdID})
return nil
}
+
func (em *OpenOltEventMgr) oltRebootFailedEvent(ctx context.Context, deviceID string, reason string, raisedTs int64) error {
de := voltha.DeviceEvent{
Context: map[string]string{ContextOltFailureReason: "olt-reboot-failed"},
@@ -350,10 +351,10 @@
if err := em.eventProxy.SendDeviceEvent(ctx, &de, voltha.EventCategory_COMMUNICATION, voltha.EventSubCategory_OLT,
raisedTs); err != nil {
return olterrors.NewErrCommunication("send-olt-reboot-failed-event", log.Fields{
- "device-id": deviceID, "raised-ts": raisedTs}, err)
+ "device-id": deviceID, "raised-ts": raisedTs, "reason": reason}, err)
}
logger.Debugw(ctx, "olt-reboot-failed-event-sent-to-kafka", log.Fields{
- "device-id": deviceID, "raised-ts": raisedTs})
+ "device-id": deviceID, "raised-ts": raisedTs, "reason": reason})
return nil
}