Skip to content

Commit

Permalink
Fix: SDM Unsubscribe issue
Browse files Browse the repository at this point in the history
  • Loading branch information
saileshvvr committed Jun 8, 2024
1 parent 255b48e commit 4ec88b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/sbi/consumer/subscriber_data_management.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ func SDMUnSubscribe(smCtx *smf_context.SMContext) (problemDetails *models.Proble
err error,
) {
if smf_context.GetSelf().Ues.UeExists(smCtx.Supi) {
// Check if the session being deleted is the last session for the UE
if smf_context.GetSelf().Ues.IsLastPduSession(smCtx.Supi) {
sdmUri := util.SearchNFServiceUri(smf_context.GetSelf().UDMProfile, models.ServiceName_NUDM_SDM,
models.NfServiceStatus_REGISTERED)
Expand Down

0 comments on commit 4ec88b2

Please sign in to comment.