Skip to content

Conversation

zubron
Copy link
Contributor

@zubron zubron commented Aug 12, 2015

This PR changes the minimum API version required for exec_inspect call. The current implementation tests against API version 1.15.

The HTTP call that is used by exec_inspect was added to API version 1.16 which was introduced in Docker 1.4.0 moby/moby@00c2a8f. exec_inspect can be found in the documentation for version 1.16 (https://docs.docker.com/reference/api/docker_remote_api_v1.16/#exec-inspect) but does not appear in the documentation for version 1.15 (https://docs.docker.com/reference/api/docker_remote_api_v1.15/).

The other exec functions were introduced in API version 1.15 and are correct.

@aanand
Copy link
Contributor

aanand commented Aug 12, 2015

LGTM

@jongiddy
Copy link

To avoid confusion with the other exec_* calls which do work with 1.15, it may be better to change the exception message to exec_inspect is not supported in API < 1.16.

@zubron
Copy link
Contributor Author

zubron commented Aug 12, 2015

You're right, it could definitely cause confusion. I've updated the error message.

@zubron zubron force-pushed the exec_inspect_version branch from 99a5461 to 7ba8332 Compare August 12, 2015 22:25
@shin-
Copy link
Contributor

shin- commented Aug 24, 2015

Thanks!

shin- added a commit that referenced this pull request Aug 24, 2015
Change minimum API version for exec_inspect
@shin- shin- merged commit 4008cbc into docker:master Aug 24, 2015
@shin- shin- added this to the 1.4.0 milestone Sep 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants