upgrade Go linter to current latest

This commit is contained in:
Ryan Richard
2025-02-18 10:47:24 -08:00
parent 8cfc1c08ec
commit 39a86e7d52
2 changed files with 2 additions and 3 deletions

View File

@@ -1 +1 @@
1.63.4
1.64.5

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 impersonator
@@ -650,7 +650,6 @@ func getTransportForUser(ctx context.Context, userInfo user.Info, delegate, dele
}
func canImpersonateFully(userInfo user.Info) bool {
//nolint:gosimple // this structure is on purpose because we plan to expand this function
if len(userInfo.GetUID()) == 0 {
return true
}