Skip to content

Commit

Permalink
Fix linter problem
Browse files Browse the repository at this point in the history
Co-authored-by: ming-hsien <w2bc8860@gmail.com>
Co-authored-by: ian60509 <ian.60509@gmail.com>
  • Loading branch information
3 people committed Jan 22, 2024
1 parent 3af8952 commit cbcd8a4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion internal/sbi/eventexposure/routers.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import (

"github.com/gin-gonic/gin"

"github.com/free5gc/openapi/models"
smf_context "github.com/free5gc/smf/internal/context"
"github.com/free5gc/smf/internal/logger"
"github.com/free5gc/smf/internal/util/oauth"
"github.com/free5gc/smf/pkg/factory"
"github.com/free5gc/openapi/models"
logger_util "github.com/free5gc/util/logger"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/sbi/pdusession/routers.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import (

"github.com/gin-gonic/gin"

"github.com/free5gc/openapi/models"
smf_context "github.com/free5gc/smf/internal/context"
"github.com/free5gc/smf/internal/logger"
"github.com/free5gc/smf/internal/util/oauth"
"github.com/free5gc/smf/pkg/factory"
"github.com/free5gc/openapi/models"
logger_util "github.com/free5gc/util/logger"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/util/oauth/router_auth_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ func (rac *RouterAuthorizationCheck) Check(c *gin.Context, smfContext smf_contex
}

logger.UtilLog.Debugf("RouterAuthorizationCheck: Check Authorized")
}
}
2 changes: 1 addition & 1 deletion internal/util/oauth/router_auth_check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ func TestRouterAuthorizationCheck_Check(t *testing.T) {
}
})
}
}
}

0 comments on commit cbcd8a4

Please sign in to comment.