Skip to content
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

Merged
merged 2 commits into from
May 17, 2017

Conversation

AkihiroSuda
Copy link
Collaborator

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

// Then
if !float64Equals(result, expected) {
t.Errorf("mem = %f, want %f", result, expected)
}
Copy link
Contributor

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()

Sergeant007 and others added 2 commits May 16, 2017 02:00
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>
@AkihiroSuda
Copy link
Collaborator Author

done

Copy link
Contributor

@dnephin dnephin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐯

@thaJeztah
Copy link
Member

looks like we have enough LGTM's, and CI is 💚

@thaJeztah thaJeztah merged commit 85c2330 into docker:master May 17, 2017
@GordonTheTurtle GordonTheTurtle added this to the 17.06.0 milestone May 17, 2017
runcom added a commit to projectatomic/docker that referenced this pull request Jul 13, 2017
Upstream reference: docker/cli#80
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1470640

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
runcom added a commit to projectatomic/docker that referenced this pull request Jul 13, 2017
Upstream reference: docker/cli#80
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1470640

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
runcom added a commit to projectatomic/docker that referenced this pull request Jul 13, 2017
Upstream reference: docker/cli#80
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1470640

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
@taodd
Copy link

taodd commented Nov 17, 2017

why not add one more column to show the "cache" used by this container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants