File tree 3 files changed +10
-7
lines changed
3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
"github.com/free5gc/util/httpwrapper"
11
11
)
12
12
13
- //const serviceName string = string(models.ServiceName_NUDR_DR)
13
+ // const serviceName string = string(models.ServiceName_NUDR_DR)
14
14
15
15
func HandleUpdateRequest (request * httpwrapper.Request ) * httpwrapper.Response {
16
16
// step 1: log
Original file line number Diff line number Diff line change @@ -18,10 +18,12 @@ import (
18
18
"github.com/free5gc/util/httpwrapper"
19
19
)
20
20
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
+ )
25
27
26
28
func createUDMClientToUDR (id string ) (* Nudr_DataRepository.APIClient , error ) {
27
29
uri := getUdrURI (id )
Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ package util
3
3
import (
4
4
"net/http"
5
5
6
- "github.com/free5gc/udm/internal/logger"
7
- udm_context "github.com/free5gc/udm/internal/context"
8
6
"github.com/gin-gonic/gin"
7
+
8
+ udm_context "github.com/free5gc/udm/internal/context"
9
+ "github.com/free5gc/udm/internal/logger"
9
10
)
10
11
11
12
type NFContextGetter func () * udm_context.UDMContext
You can’t perform that action at this time.
0 commit comments