mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-05 04:56:11 +00:00
upgrade golangci-lint to v1.63.4
This commit is contained in:
@@ -1 +1 @@
|
||||
1.61.0
|
||||
1.63.4
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
||||
// Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package controller
|
||||
@@ -20,7 +20,6 @@ import (
|
||||
"go.pinniped.dev/internal/plog"
|
||||
)
|
||||
|
||||
//nolint:funlen
|
||||
func NewExampleCreatingController(
|
||||
services corev1informers.ServiceInformer,
|
||||
secrets corev1informers.SecretInformer,
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user