-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spinner: Ensure there are no logs/prints within Start and Stop
This change is necessary to ensure spinner and suffix are correctly cleaned up when we call Stop. When we print something between Start and Stop, the snipper and suggix remains there: BEFORE THIS PR: Example #1: $ ./kubectl-aks config import / Importing...WARN[0030] Could not get VMSS VMs via Kubernetes API WARN[0030] Please provide '--subscription', '--resource-group' and '--cluster-name' flags to get VMSS VMs via Azure API Error: getting VMSS VMs via Kuberntes API: listing nodes: Get "https://172.28.128.4:6443/api/v1/nodes": dial tcp 172.28.128.4:6443: i/o timeout Example #2: $ ./kubectl-aks check-apiserver-connectivity / Checking connectivity...Connectivity check: failed with returned value 1 AFTER THIS PR: Example #1: $ ./kubectl-aks config import WARN[0030] Could not get VMSS VMs via Kubernetes API WARN[0030] Please provide '--subscription', '--resource-group' and '--cluster-name' flags to get VMSS VMs via Azure API Error: getting VMSS VMs via Kuberntes API: listing nodes: Get "https://172.28.128.4:6443/api/v1/nodes": dial tcp 172.28.128.4:6443: i/o timeout Example #2: $ ./kubectl-aks check-apiserver-connectivity Connectivity check: failed with returned value 1: Signed-off-by: Jose Blanquicet <josebl@microsoft.com>
- Loading branch information
1 parent
95caebe
commit 44df752
Showing
4 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters