-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Remove job from container stats #12312
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
|
@runcom Can you split your changes to two commits, pls? |
|
Sure! |
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.
maybe if err != nil?
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.
no, if err is nil it means api call was ok, i'm looking for failure here
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.
Oops~, i misunderstand that, ignore my noise
Signed-off-by: Antonio Murdaca <me@runcom.ninja>
9846255 to
65a0563
Compare
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.
Creating a flusher here but daemon.ContainerStats only accepts an io.Writer?
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.
Missed that
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.
it should be io.Writer. Flush called automatically on each write.
|
LGTM |
1 similar comment
|
LGTM |
Remove job from container stats
Signed-off-by: Antonio Murdaca me@runcom.ninja