Closed prkalle closed 4 months ago
Thanks @prkalle. Could you also add it to shouldSkipVersionCheck()
? The version check logic could print that a new version is available and we should avoid triggering that from kubectl
Could you also add it to shouldSkipVersionCheck()? The version check logic could print that a new version is available and we should avoid triggering that from kubectl
Thanks @marckhouzam. Added tanzu context get-token
command to shouldSkipVersionCheck().
What this PR does / why we need it
This PR would ignore command PreRun logic for
tanzu context get-token
command.Which issue(s) this PR fixes
Fixes #
Describe testing done for PR
Tested the kubectl command (which internally would call the tanzu context get-token command) after removing the CEIP and EULA opt-in status from the CLI config file. Verified that CLI binary without the fix get stuck and later with updated binary path , the CLI didn't get hang for prompt.
Release note
Additional information
Special notes for your reviewer