We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e861d37 commit e6efcd5Copy full SHA for e6efcd5
internal/sbi/processor/event_exposure.go
@@ -62,6 +62,15 @@ func (p *Processor) CreateAMFEventSubscriptionProcedure(createEventSubscription
62
ueEventSubscription.RemainReports = new(int32)
63
*ueEventSubscription.RemainReports = subscription.Options.MaxReports
64
}
65
+
66
+ if subscription.EventList == nil {
67
+ problemDetails := &models.ProblemDetails{
68
+ Status: http.StatusBadRequest,
69
+ Cause: "SUBSCRIPTION_EMPTY",
70
+ }
71
+ return nil, problemDetails
72
73
74
for _, events := range *subscription.EventList {
75
immediateFlags = append(immediateFlags, events.ImmediateFlag)
76
if events.ImmediateFlag {
0 commit comments