-
Notifications
You must be signed in to change notification settings - Fork 2k
[Carry moby/moby#32777] Adjusted docker stats memory output #80
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
// 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 <Sergeant007@users.noreply.github.com> Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
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 <runcom@redhat.com>
Upstream reference: docker/cli#80 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1470640 Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Upstream reference: docker/cli#80 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1470640 Signed-off-by: Antonio Murdaca <runcom@redhat.com>
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 <runcom@redhat.com>
Carry moby/moby#32777 (comment)
cc @Sergeant007
Signed-off-by: Sergey Tryuber Sergeant007@users.noreply.github.com
Signed-off-by: Akihiro Suda suda.akihiro@lab.ntt.co.jp