Skip to content

Commit

Permalink
Update handler.go
Browse files Browse the repository at this point in the history
issue 413 v1
  • Loading branch information
Leon777-coder authored Nov 20, 2023
1 parent aebc9fc commit a6007ee
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions internal/gmm/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,19 @@ func handleRequestedNssai(ue *context.AmfUe, anType models.AccessType) error {
needSliceSelection = true
break
}

Check failure on line 1123 in internal/gmm/handler.go

View workflow job for this annotation

GitHub Actions / lint (1.18)

File is not `gofmt`-ed with `-s` (gofmt)
reqSnssai := models.Snssai{
Sst: requestedSnssai.ServingSnssai.Sst,
Sd: requestedSnssai.ServingSnssai.Sd,
}

if !amfSelf.InPlmnSupportList(reqSnssai) {

Check failure on line 1129 in internal/gmm/handler.go

View workflow job for this annotation

GitHub Actions / lint (1.18)

unnecessary leading newline (whitespace)

Check failure on line 1130 in internal/gmm/handler.go

View workflow job for this annotation

GitHub Actions / lint (1.18)

File is not `gofumpt`-ed (gofumpt)
//ngap_message.SendRerouteNasRequest(ue, anType, nil, ue.RanUe[anType].InitialUEMessage, &allowedNssaiNgap)
needSliceSelection = true
} else {

Check failure on line 1133 in internal/gmm/handler.go

View workflow job for this annotation

GitHub Actions / lint (1.18)

SA9003: empty branch (staticcheck)

Check failure on line 1134 in internal/gmm/handler.go

View workflow job for this annotation

GitHub Actions / lint (1.18)

File is not `gofumpt`-ed (gofumpt)
}
}

if needSliceSelection {
Expand Down

0 comments on commit a6007ee

Please sign in to comment.