Skip to content

Commit

Permalink
chore(lint): nolintlint
Browse files Browse the repository at this point in the history
Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com>
  • Loading branch information
rbeuque74 committed Aug 17, 2022
1 parent d0e6196 commit c5d13d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ var (

// WithIdentity adds identity data to a context
func WithIdentity(ctx context.Context, id string) context.Context {
return context.WithValue(ctx, IdentityProviderCtxKey, id) // nolint
return context.WithValue(ctx, IdentityProviderCtxKey, id) //nolint
}

// WithIdentity adds identity data to a context
func WithGroups(ctx context.Context, groups []string) context.Context {
return context.WithValue(ctx, GroupProviderCtxKey, groups) // nolint
return context.WithValue(ctx, GroupProviderCtxKey, groups) //nolint
}

// Init reads authorization from configstore, bootstraps values
Expand Down

0 comments on commit c5d13d4

Please sign in to comment.