Skip to content

Commit 90e38ad

Browse files
committed
fix gofumpt
1 parent 1ecb75a commit 90e38ad

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

internal/sbi/producer/parameter_provision.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/free5gc/util/httpwrapper"
1111
)
1212

13-
//const serviceName string = string(models.ServiceName_NUDR_DR)
13+
// const serviceName string = string(models.ServiceName_NUDR_DR)
1414

1515
func HandleUpdateRequest(request *httpwrapper.Request) *httpwrapper.Response {
1616
// step 1: log

internal/sbi/producer/ue_context_management.go

+6-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ import (
1818
"github.com/free5gc/util/httpwrapper"
1919
)
2020

21-
const serviceNameNudrDr string = string(models.ServiceName_NUDR_DR)
22-
const serviceNameNudmSdm string = string(models.ServiceName_NUDM_SDM)
23-
const nfTypeUDR models.NfType = models.NfType_UDR
24-
const nfTypeUDM models.NfType = models.NfType_UDM
21+
const (
22+
serviceNameNudrDr string = string(models.ServiceName_NUDR_DR)
23+
serviceNameNudmSdm string = string(models.ServiceName_NUDM_SDM)
24+
nfTypeUDR models.NfType = models.NfType_UDR
25+
nfTypeUDM models.NfType = models.NfType_UDM
26+
)
2527

2628
func createUDMClientToUDR(id string) (*Nudr_DataRepository.APIClient, error) {
2729
uri := getUdrURI(id)

0 commit comments

Comments
 (0)