Skip to content

Commit

Permalink
Merge pull request #9935 from spowelljr/fixBackToBackSpinner
Browse files Browse the repository at this point in the history
Fixed output on back to back spinner steps
  • Loading branch information
medyagh authored Dec 11, 2020
2 parents 38a71d8 + 12893a6 commit 947749a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/minikube/out/out.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ func spinnerString(format string, a ...interface{}) {
}

klog.Infof(format, a...)
// if spin is active from a previous step, it will stop spinner displaying
if spin.Active() {
spin.Stop()
}
_, err := fmt.Fprintf(outFile, format, a...)
if err != nil {
klog.Errorf("Fprintf failed: %v", err)
Expand Down

0 comments on commit 947749a

Please sign in to comment.