mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-07 14:05:50 +00:00
fix linter warning caused by k8s 0.33 function deprecation
This commit is contained in:
@@ -1049,7 +1049,8 @@ func TestImpersonationProxy(t *testing.T) { //nolint:gocyclo // yeah, it's compl
|
||||
}, nil, nil)
|
||||
require.NoError(t, err)
|
||||
|
||||
csrName, _, err := csr.RequestCertificate(
|
||||
csrName, _, err := csr.RequestCertificateWithContext(
|
||||
ctx,
|
||||
impersonationProxySAClient.Kubernetes,
|
||||
csrPEM,
|
||||
"",
|
||||
@@ -2635,7 +2636,8 @@ func getUIDAndExtraViaCSR(ctx context.Context, t *testing.T, uid string, client
|
||||
}, nil, nil)
|
||||
require.NoError(t, err)
|
||||
|
||||
csrName, _, err := csr.RequestCertificate(
|
||||
csrName, _, err := csr.RequestCertificateWithContext(
|
||||
ctx,
|
||||
client,
|
||||
csrPEM,
|
||||
"",
|
||||
|
||||
@@ -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 integration
|
||||
|
||||
@@ -292,7 +292,8 @@ func TestWhoAmI_CSR_Parallel(t *testing.T) {
|
||||
}, nil, nil)
|
||||
require.NoError(t, err)
|
||||
|
||||
csrName, csrUID, err := csr.RequestCertificate(
|
||||
csrName, csrUID, err := csr.RequestCertificateWithContext(
|
||||
ctx,
|
||||
kubeClient,
|
||||
csrPEM,
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user