-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Carry moby/moby#32777] Adjusted docker stats memory output #80
Conversation
// Then | ||
if !float64Equals(result, expected) { | ||
t.Errorf("mem = %f, want %f", result, expected) | ||
} |
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.
https://godoc.org/github.com/stretchr/testify/assert#InEpsilon
That way you don't have to create float64Equals()
Signed-off-by: Sergey Tryuber <[email protected]> Signed-off-by: Akihiro Suda <[email protected]>
Signed-off-by: Akihiro Suda <[email protected]>
060628d
to
3c78bc7
Compare
done |
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
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 🐯
looks like we have enough LGTM's, and CI is 💚 |
Upstream reference: docker/cli#80 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1470640 Signed-off-by: Antonio Murdaca <[email protected]>
Upstream reference: docker/cli#80 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1470640 Signed-off-by: Antonio Murdaca <[email protected]>
Upstream reference: docker/cli#80 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1470640 Signed-off-by: Antonio Murdaca <[email protected]>
why not add one more column to show the "cache" used by this container |
Upstream reference: docker/cli#80 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1470640 Signed-off-by: Antonio Murdaca <[email protected]>
Carry moby/moby#32777 (comment)
cc @Sergeant007
Signed-off-by: Sergey Tryuber [email protected]
Signed-off-by: Akihiro Suda [email protected]