Skip to content
Snippets Groups Projects
Commit b0375801 authored by Ikram Haq's avatar Ikram Haq
Browse files

fix minor issue Add event detail in event notification

parent 75a88eb9
No related branches found
No related tags found
1 merge request!1Merge CAPIF into MEC Federation branch for ETSI SNS4SNS demo
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment