linter pass; remove context param from GetIdentityProviderForRequestURL

This commit is contained in:
Joe Kralicky 2024-06-20 19:42:15 -04:00
parent a5a0cf4ba8
commit f3288974dd
No known key found for this signature in database
GPG key ID: 75C4875F34A9FB79
5 changed files with 8 additions and 10 deletions

View file

@ -118,7 +118,7 @@ func getCookies(r *http.Request, name string) []*http.Cookie {
}
// LoadSession returns a State from the cookie in the request.
func (cs *Store) LoadSession(ctx context.Context, r *http.Request) (string, error) {
func (cs *Store) LoadSession(_ context.Context, r *http.Request) (string, error) {
opts := cs.getOptions()
cookies := getCookies(r, opts.Name)
if len(cookies) == 0 {