From ebee94c2ff5266ecfe5d15e18cb3a0c96424c379 Mon Sep 17 00:00:00 2001 From: SAILESH VVR Date: Sat, 8 Jun 2024 13:18:37 +0530 Subject: [PATCH] Fix: Addressed the issue during SMF UDMUnSubscription for a PDU Session --- internal/sbi/consumer/subscriber_data_management.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/sbi/consumer/subscriber_data_management.go b/internal/sbi/consumer/subscriber_data_management.go index ba7097d8..2d1bd89c 100644 --- a/internal/sbi/consumer/subscriber_data_management.go +++ b/internal/sbi/consumer/subscriber_data_management.go @@ -130,7 +130,6 @@ 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)