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

Apiversion negotiation #1845

Merged
merged 1 commit into from
May 14, 2019

Conversation

tiborvass
Copy link
Collaborator

@codecov-io
Copy link

codecov-io commented Apr 23, 2019

Codecov Report

Merging #1845 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1845   +/-   ##
=======================================
  Coverage   56.75%   56.75%           
=======================================
  Files         309      309           
  Lines       21680    21680           
=======================================
  Hits        12305    12305           
  Misses       8476     8476           
  Partials      899      899

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -127,6 +127,8 @@ func (c *Endpoint) ClientOpts() ([]client.Opt, error) {
version := os.Getenv("DOCKER_API_VERSION")
if version != "" {
result = append(result, client.WithVersion(version))
Copy link
Member

Choose a reason for hiding this comment

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

WithVersion should now ignore empty values, so just adding both WithVersion and WithAPIVersionNegotiation should also work

@andrewhsu
Copy link
Contributor

SGTM

@thaJeztah
Copy link
Member

ping @silvin-lubecki

@thaJeztah
Copy link
Member

oh; needs a rebase 😔

…on is missing

Signed-off-by: Tibor Vass <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the apiversion-negotiation branch from 16bc5bf to c52e1f2 Compare May 14, 2019 00:37
@thaJeztah
Copy link
Member

rebased; removed the first commit, because master was up-to-date with those changes

Copy link
Contributor

@silvin-lubecki silvin-lubecki left a comment

Choose a reason for hiding this comment

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

LGTM

@silvin-lubecki silvin-lubecki merged commit 873afb9 into docker:master May 14, 2019
@GordonTheTurtle GordonTheTurtle added this to the 19.09.0 milestone May 14, 2019
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.

6 participants