-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
mute status check logs #4907
mute status check logs #4907
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4907 +/- ##
==========================================
+ Coverage 71.96% 72.20% +0.23%
==========================================
Files 357 358 +1
Lines 12327 12421 +94
==========================================
+ Hits 8871 8968 +97
+ Misses 2799 2797 -2
+ Partials 657 656 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two optional things to consider.
Funnily enough, the muted output is written out with ANSI sequences (#4913).
In, #4907 @briandealwis had left code review comments to 1) move `postStatusCheckFn()` as soon as it got defined and 2) add a defer. I only addressed part 1 creating a bug. Now addressing part 2. Thanks @nkubala for bringing this to my attention.
In, #4907 @briandealwis had left code review comments to 1) move `postStatusCheckFn()` as soon as it got defined and 2) add a defer. I only addressed part 1 creating a bug. Now addressing part 2. Thanks @nkubala for bringing this to my attention.
Fixes #4516
Wire up status check to mute logs if
--mute-log=status-check
is present.Testing notes:
make
../../out/skaffold dev --mute-logs=status-check