mirror of https://github.com/kubernetes/kops.git
Thread context through kubectl-auth
This commit is contained in:
parent
6f7fcb0a9a
commit
fbf3556772
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue