Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SDM Subscription and Unsubscription #95

Closed
wants to merge 20 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix: fix linter error
  • Loading branch information
andy89923 authored and saileshvvr committed Jun 8, 2024
commit bf66461d27baeb5448aa47d4cec047da5ff83597
4 changes: 2 additions & 2 deletions internal/sbi/producer/pdu_session.go
Original file line number Diff line number Diff line change
@@ -173,12 +173,12 @@ func HandlePDUSessionSMContextCreate(isDone <-chan struct{},
}

// If PCF prepares default Pcc Rule, SMF do not need to create defaultDataPath.
if err := smContext.ApplyPccRules(smPolicyDecision); err != nil {
if err = smContext.ApplyPccRules(smPolicyDecision); err != nil {
smContext.Log.Errorf("apply sm policy decision error: %+v", err)
}

// SelectDefaultDataPath() will create a default data path if default data path is not found.
if err := smContext.SelectDefaultDataPath(); err != nil {
if err = smContext.SelectDefaultDataPath(); err != nil {
smContext.SetState(smf_context.InActive)
smContext.Log.Errorf("PDUSessionSMContextCreate err: %v", err)
return makeEstRejectResAndReleaseSMContext(smContext,