From b0375801b099fa34f09d1832197dafdbac0eb36d Mon Sep 17 00:00:00 2001 From: Ikram Ul Haq Date: Fri, 30 Aug 2024 12:49:59 +0500 Subject: [PATCH] fix minor issue Add event detail in event notification --- .../meep-app-enablement/server/capif-mgmt/service-mgmt.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-app-enablement/server/capif-mgmt/service-mgmt.go b/go-apps/meep-app-enablement/server/capif-mgmt/service-mgmt.go index b675cd024..b65cef6cc 100644 --- a/go-apps/meep-app-enablement/server/capif-mgmt/service-mgmt.go +++ b/go-apps/meep-app-enablement/server/capif-mgmt/service-mgmt.go @@ -1848,12 +1848,14 @@ func checkSerAvailNotification(sInfo *ServiceInfo, mep string, changeType CapifE } } } + + event_detail := &CapifEventDetail{} + event_detail.ApiIds = append(event_detail.ApiIds, sInfo.SerInstanceId) // Create a new EventNotification instance notif := &EventNotification{ SubscriptionId: sub.Cfg.Id, + EventDetail: event_detail, } - event_detail := &CapifEventDetail{} - event_detail.ApiIds = append(event_detail.ApiIds, sInfo.SerInstanceId) // Set the event type based on changeType var eventType CapifEvent switch changeType { -- GitLab