Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
YouShengLiu committed Sep 13, 2023
1 parent bfc0c5e commit 4d1fde2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions internal/gmm/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -683,10 +683,11 @@ func HandleInitialRegistration(ue *context.AmfUe, anType models.AccessType) erro
param.PreferredLocality = optional.NewString(amfSelf.Locality)
}

if ue.PcfId != "" {
// TODO: (step 15) Should use PCF ID to select PCF
// Retrieve PCF ID from old AMF
}
// TODO: (step 15) Should use PCF ID to select PCF
// Retrieve PCF ID from old AMF
// if ue.PcfId != "" {

// }
for {
resp, err := consumer.SendSearchNFInstances(amfSelf.NrfUri, models.NfType_PCF, models.NfType_AMF, &param)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/sbi/httpcallback/api_handle_dereg_notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func HTTPAmfHandleDeregistrationNotification(c *gin.Context) {
ue.UeCmRegistered[deregData.AccessType] = false
}
}

// TS 23.502 - 4.2.2.2.2 General Registration - 20
if ue.PolicyAssociationId != "" {
// TODO: It also needs to check if the PCF ID is tranfered to new AMF
Expand Down

0 comments on commit 4d1fde2

Please sign in to comment.