Thread context through kubectl-auth

This commit is contained in:
justinsb 2023-11-29 22:44:58 -05:00
parent 6f7fcb0a9a
commit fbf3556772
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 {