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 Feb 6, 2024
1 parent d988183 commit 0ca0a1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/sbi/consumer/nf_management.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func SendDeregisterNFInstance() (*models.ProblemDetails, error) {

var err error

ctx, pd, err := nssf_context.GetSelf().GetTokenCtx("nnrf-nfm", models.NfType_NRF)
ctx, pd, err := nssf_context.GetSelf().GetTokenCtx(models.ServiceName_NNRF_NFM, models.NfType_NRF)
if err != nil {
return pd, err
}
Expand Down
3 changes: 2 additions & 1 deletion internal/util/router_auth_check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import (
"net/http/httptest"
"testing"

"github.com/free5gc/openapi/models"
"github.com/gin-gonic/gin"
"github.com/pkg/errors"

"github.com/free5gc/openapi/models"
)

const (
Expand Down

0 comments on commit 0ca0a1a

Please sign in to comment.