Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop spinner on cancel of flux diff kustomization #4922

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

bkreitch
Copy link
Contributor

@bkreitch bkreitch commented Aug 9, 2024

This PR stops spinner on cancel of flux diff kustomization command - otherwise cursor (hidden by spinner package) remains invisible.

stopSpinner() is called before CleanDirectory() since later happens to return an error if kustomize.yaml doesn't exist and then Cancel() exits still leaving cursor invisible.

Signed-off-by: Boris Kreitchman <[email protected]>
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @bkreitch for the fix 🏅

@stefanprodan stefanprodan merged commit 52512a9 into fluxcd:main Aug 9, 2024
7 checks passed
@bkreitch bkreitch deleted the stop-spinner-on-cancel branch August 9, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants