upgrade golangci-lint to v1.63.4

This commit is contained in:
Ryan Richard
2025-01-06 13:03:46 -08:00
parent 691307a269
commit 4872be0a84
3 changed files with 4 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2020-2024 the Pinniped contributors. All Rights Reserved.
// Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package endpointsmanager
@@ -184,7 +184,7 @@ func TestManager(t *testing.T) {
redirectStateParam := parsedLocation.Query().Get("state")
r.NotEmpty(redirectStateParam)
cookies := recorder.Result().Cookies() //nolint:bodyclose
cookies := recorder.Result().Cookies()
r.Len(cookies, 1)
csrfCookie := cookies[0]
r.Equal("__Host-pinniped-csrf", csrfCookie.Name)