Skip to content

Commit

Permalink
fix: remove quotes and add uri in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
donald1218 committed Sep 13, 2024
1 parent 4a8c6b3 commit b41fa67
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/sbi/consumer/ausf_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ func (s *nausfService) SendAuth5gAkaConfirmRequest(ue *amf_context.AmfUe, resSta
if err != nil {
return nil, nil, err
}
// splituri = ["","nausf-auth","ue-authentications","{authctxId}","5g-aka-confirmation"]
// confirmUri.RequestURI() = "/nausf-auth/v1/ue-authentications/{authctxId}/5g-aka-confirmation"
// splituri = ["","nausf-auth","ue-authentications",{authctxId},"5g-aka-confirmation"]
// authctxId = {authctxId}
splituri := strings.Split(confirmUri.RequestURI(), "/")
authctxId := ""
Expand Down Expand Up @@ -182,7 +183,8 @@ func (s *nausfService) SendEapAuthConfirmRequest(ue *amf_context.AmfUe, eapMsg n
return nil, nil, err
}

// splituri = ["","nausf-auth","ue-authentications","{authctxId}","eap-session"]
// confirmUri.RequestURI() = "/nausf-auth/v1/ue-authentications/{authctxId}/eap-session"
// splituri = ["","nausf-auth","ue-authentications",{authctxId},"eap-session"]
// authctxId = {authctxId}
splituri := strings.Split(confirmUri.RequestURI(), "/")
authctxId := ""
Expand Down

0 comments on commit b41fa67

Please sign in to comment.