-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
stats: report correctly CPU usage #4423
stats: report correctly CPU usage #4423
Conversation
the two values were incorrectly switched. Signed-off-by: Giuseppe Scrivano <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Can you add tests for this. So we avoid regressions in the future? |
Closes: containers#4409 Signed-off-by: Giuseppe Scrivano <[email protected]>
d8ca879
to
a84ab35
Compare
I've tried to add one, but it seems quite tricky. |
LGTM |
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
[NO NEW TESTS NEEDED} Backport of containers#4423 to the v1.6.4-rhel branch so that it can be included into RHEL 8.2 This fixes the was that CPU is reported from the `podman stats` command. This fix was first put into podman v1.7.0 Addresses https://bugzilla.redhat.com/show_bug.cgi?id=2060095 Signed-off-by: tomsweeneyredhat <[email protected]>
Closes: #4409
Signed-off-by: Giuseppe Scrivano [email protected]