-
Notifications
You must be signed in to change notification settings - Fork 2.7k
registry/storage: add option to quiet GC output. #4560
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
Conversation
1c439a2 to
5c98929
Compare
milosgajdos
left a comment
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.
This is incomplete. You need to pass the Quiet setting to GC somehow:
likely through
Line 45 in 7271d88
| var GCCmd = &cobra.Command{ |
Consumers might not want GC output to be displayed (e.g, if you have your own logging system). Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
5c98929 to
a032989
Compare
|
Done: |
milosgajdos
left a comment
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.
The code is fine now, but I think we should update the docs, too.
Sorry about not mentioning this on the previous review but would you mind mentioning the new cli switch in
| ## Run garbage collection |
Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
Good call. I've added |
milosgajdos
left a comment
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.
PTAL @thaJeztah @Jamstah @davidspek
wy65701436
left a comment
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.
lgtm
Consumers might not want GC output to be displayed (e.g, if you have your own logging system).