diff --git a/.golangci.yml b/.golangci.yml index 4cf8920..2c9cdcf 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -218,7 +218,7 @@ linters-settings: linters: enable: - # - gofmt + - gofmt - govet # - errcheck # - staticcheck diff --git a/producer/network_slice_information_document.go b/producer/network_slice_information_document.go index 7cfd0c8..7b78552 100644 --- a/producer/network_slice_information_document.go +++ b/producer/network_slice_information_document.go @@ -84,8 +84,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 +// 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 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))