VOL-3877 Fix for missing event name in KPI Event
Change-Id: I21f204c2fd60619295b62b2f4f46b11eea71a73b
diff --git a/VERSION b/VERSION
index 1111a33..1431ef2 100755
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.1.2-dev256
+2.1.2-dev257
diff --git a/internal/pkg/pmmgr/onu_metrics_manager.go b/internal/pkg/pmmgr/onu_metrics_manager.go
index f78e52b..5ed462a 100755
--- a/internal/pkg/pmmgr/onu_metrics_manager.go
+++ b/internal/pkg/pmmgr/onu_metrics_manager.go
@@ -1028,7 +1028,7 @@
ke.Type = voltha.KpiEventType_slice
ke.Ts = float64(ts)
- if err := mm.pDeviceHandler.GetEventProxy().SendKpiEvent(ctx, "STATS_EVENT", &ke, voltha.EventCategory_EQUIPMENT, voltha.EventSubCategory_ONU, ts); err != nil {
+ if err := mm.pDeviceHandler.GetEventProxy().SendKpiEvent(ctx, "STATS_PUBLISH_EVENT", &ke, voltha.EventCategory_EQUIPMENT, voltha.EventSubCategory_ONU, ts); err != nil {
logger.Errorw(ctx, "failed-to-send-pon-stats", log.Fields{"err": err})
}
}