Skip to content

Commit

Permalink
style: linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon777-coder committed Nov 22, 2023
1 parent b65603e commit e65bdd9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions internal/gmm/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ func handleRequestedNssai(ue *context.AmfUe, anType models.AccessType) error {
break
}

reqSnssai := models.Snssai {
reqSnssai := models.Snssai{
Sst: requestedSnssai.ServingSnssai.Sst,
Sd: requestedSnssai.ServingSnssai.Sd,
}
Expand All @@ -1130,14 +1130,8 @@ func handleRequestedNssai(ue *context.AmfUe, anType models.AccessType) error {
needSliceSelection = true
break
}

}

if !amfSelf.InPlmnSupportList(reqSnssai) {
needSliceSelection = true
break
}
}
if needSliceSelection {
if ue.NssfUri == "" {
for {
Expand Down

0 comments on commit e65bdd9

Please sign in to comment.