Skip to content

Conversation

akalipetis
Copy link
Contributor

Adds one more flag to the stats method for non-streaming responses.

Keeps default as streamed response for backwards compatibility.

@akalipetis akalipetis changed the title Add suport for non-stream stats of containers Add support for non-stream stats of containers Oct 9, 2015
@shin-
Copy link
Contributor

shin- commented Oct 21, 2015

Thanks for contributing!

This could use an integration test, otherwise LGTM.

@shin- shin- added this to the 1.6.0 milestone Oct 21, 2015
Adds one more flag to the `stats` method for streaming responses.
Keeps default as streamed response for backwards compatibility.

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
Also, fix typo in non-streaming stats.

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
@akalipetis akalipetis force-pushed the enhancement/stats-no-stream branch from 2b1d94a to 7e2ec1a Compare October 22, 2015 14:07
@akalipetis
Copy link
Contributor Author

Added tests, rebased with master and 🎁 added an .editorconfig file to the repo.

@shin-
Copy link
Contributor

shin- commented Oct 27, 2015

Thanks!

@Davy1992
Copy link

This is really helpful, but can you guys merge it into the master branch pls?

@dnephin
Copy link
Contributor

dnephin commented Nov 17, 2015

LGTM

dnephin added a commit that referenced this pull request Nov 17, 2015
Add support for non-stream stats of containers
@dnephin dnephin merged commit 0284ead into docker:master Nov 17, 2015
@Davy1992
Copy link

@dnephin Thank you!

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.

5 participants