Skip to content

Commit

Permalink
fix golangci-lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
ShouheiNishi committed Jan 4, 2024
1 parent a5a9d36 commit 35b2de9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ func (a *AUSFContext) GetSelfID() uuid.UUID {
return a.NfId
}

func (c *AUSFContext) GetTokenRequestEditor(ctx context.Context, scope string, targetNF nrf_management.NFType) (func(ctx context.Context, req *http.Request) error, error) {
func (c *AUSFContext) GetTokenRequestEditor(ctx context.Context, scope string,
targetNF nrf_management.NFType,
) (func(ctx context.Context, req *http.Request) error, error) {
if !c.OAuth2Required {
return func(ctx context.Context, req *http.Request) error {
return nil
Expand Down

0 comments on commit 35b2de9

Please sign in to comment.