Skip to content

Commit

Permalink
Fix: fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
andy89923 committed Dec 18, 2023
1 parent 4586445 commit a9b62a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/sbi/producer/network_slice_information_document.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ func parseQueryParameter(query url.Values) (plugin.NsselectionQueryParameter, er

// Check if the NF service consumer is authorized
// TODO: Check if the NF service consumer is legal with local configuration, or possibly after querying NRF through
//
// `nf-id` e.g. Whether the V-NSSF is authorized
// `nf-id` e.g. Whether the V-NSSF is authorized
func checkNfServiceConsumer(nfType models.NfType) error {
if nfType != models.NfType_AMF && nfType != models.NfType_NSSF {
return fmt.Errorf("`nf-type`:'%s' is not authorized to retrieve the slice selection information", string(nfType))
Expand Down

0 comments on commit a9b62a0

Please sign in to comment.