Bump golanglint-ci to 1.60.3

This commit is contained in:
Joshua Casey
2024-09-04 20:52:01 -05:00
parent f476259bbf
commit 08abff1cae
17 changed files with 32 additions and 27 deletions
+1 -1
View File
@@ -745,7 +745,7 @@ func validateKubeconfig(ctx context.Context, flags getKubeconfigParams, kubeconf
func countCACerts(pemData []byte) int {
pool := x509.NewCertPool()
pool.AppendCertsFromPEM(pemData)
return len(pool.Subjects())
return len(pool.Subjects()) //nolint:staticcheck // there's no other clear way to mimic this legacy behavior
}
func hasPendingStrategy(credentialIssuer *conciergeconfigv1alpha1.CredentialIssuer) bool {