Merge pull request #16137 from justinsb/context_in_kubectl_auth

Thread context through kubectl-auth
This commit is contained in:
Kubernetes Prow Robot 2023-11-30 17:48:46 +01:00 committed by GitHub
commit 3427405490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ func NewCmdHelperKubectlAuth(f *util.Factory, out io.Writer) *cobra.Command {
Use: "kubectl-auth",
Short: kubectlAuthShort,
Run: func(cmd *cobra.Command, args []string) {
ctx := context.TODO()
ctx := cmd.Context()
err := RunKubectlAuthHelper(ctx, f, out, options)
if err != nil {