Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testenv: Add DaemonAPIVersion helper
Allow tests to check the negotiated API version used by the client. Can be used to skip tests based on API versions, for example: ```go skip.If(t, versions.LessThan(environment.DaemonAPIVersion(t), "1.44")) ``` will skip the test if the API version is older than 1.44 Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com> (cherry picked from commit 9831fea) Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
- Loading branch information