Skip to content
This repository has been archived by the owner on Nov 23, 2019. It is now read-only.

Windows: Support for stats (docker #25737) #373

Closed
wants to merge 1 commit into from

Conversation

lowenna
Copy link
Contributor

@lowenna lowenna commented Aug 17, 2016

Signed-off-by: John Howard jhoward@microsoft.com

Adds support for docker stats on Windows. See moby/moby#25737 for detailed information.

@lowenna
Copy link
Contributor Author

lowenna commented Aug 29, 2016

ping @docker/core-engine-api-maintainers

@@ -113,7 +113,8 @@ func imageBuildOptionsToQuery(options types.ImageBuildOptions) (url.Values, erro
return query, nil
}

func getDockerOS(serverHeader string) string {
// GetDockerOS returns the operating system based on the server header from the daemon.
func GetDockerOS(serverHeader string) string {
Copy link
Contributor

Choose a reason for hiding this comment

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

We might want to move this function out of this file but that can be done in a follow-up PR 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, make sense. I'll make sure to do that as a follow-up.

@vdemeester
Copy link
Contributor

LGTM 🐮

Signed-off-by: John Howard <jhoward@microsoft.com>
@lowenna
Copy link
Contributor Author

lowenna commented Sep 1, 2016

The matching docker PR moby/moby#25737 is all green 💚 now and just waiting for this to be merged so it can be rebased.

@lowenna
Copy link
Contributor Author

lowenna commented Sep 7, 2016

Closing now engine-api is back in docker.

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

Successfully merging this pull request may close these issues.

3 participants