Skip to content

Commit

Permalink
fix: ci complains
Browse files Browse the repository at this point in the history
  • Loading branch information
yccodr committed Apr 25, 2024
1 parent d866a36 commit 99a72d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion internal/sbi/processor/nf_instance_id_document.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ package processor
import (
"net/http"

"github.com/gin-gonic/gin"

"github.com/free5gc/nssf/internal/logger"
"github.com/free5gc/nssf/internal/plugin"
"github.com/free5gc/nssf/internal/sbi/nssaiavailability"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"github.com/gin-gonic/gin"
)

// HandleNSSAIAvailabilityDelete - Deletes an already existing S-NSSAIs per TA
Expand Down
3 changes: 2 additions & 1 deletion internal/sbi/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ import (
"sync"
"time"

"github.com/gin-gonic/gin"

"github.com/free5gc/nssf/internal/logger"
"github.com/free5gc/nssf/internal/sbi"
"github.com/free5gc/nssf/pkg/factory"
"github.com/free5gc/util/httpwrapper"
logger_util "github.com/free5gc/util/logger"
"github.com/gin-gonic/gin"
)

type Server struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/service/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (a *NssfApp) Start(tlsKeyLogPath string) {
logger.InitLog.Errorf("Register to NRF failed: %+v", err)
}

// Gracefull deregister when panic
// Graceful deregister when panic
defer func() {
if p := recover(); p != nil {
logger.InitLog.Errorf("panic: %v\n%s", p, string(debug.Stack()))
Expand Down

0 comments on commit 99a72d3

Please sign in to comment.