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

client: extract FromEnv parts to separate WithXX options #42224

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Mar 30, 2021

relates to the discussion on #42222

Implements three options;

  • WithTLSClientConfigFromEnv()
  • WithHostFromEnv()
  • WithVersionFromEnv()

- Description for the changelog

Implement new options in the client package: 

- WithTLSClientConfigFromEnv()
- WithHostFromEnv()
- WithVersionFromEnv()

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah
Copy link
Member Author

thaJeztah commented Apr 2, 2021

Looks like this test has become flaky; (tracked through #42357)

--- FAIL: TestDaemonHostGatewayIP (4.55s)
    daemon_linux_test.go:161: [d89024ace079c] failed to start daemon with arguments [--data-root /go/src/github.com/docker/docker/bundles/test-integration/TestDaemonHostGatewayIP/d89024ace079c/root --exec-root /tmp/dxr/d89024ace079c --pidfile /go/src/github.com/docker/docker/bundles/test-integration/TestDaemonHostGatewayIP/d89024ace079c/docker.pid --userland-proxy=true --containerd-namespace d89024ace079c --containerd-plugins-namespace d89024ace079cp --containerd /var/run/docker/containerd/containerd.sock --host unix:///tmp/docker-integration/d89024ace079c.sock --debug --storage-driver overlay2 --host-gateway-ip=6.7.8.9] : [d89024ace079c] daemon exited during startup: exit status 1

@thaJeztah thaJeztah force-pushed the more_client_opts branch 2 times, most recently from 75550a2 to aa1f6ab Compare May 6, 2021 14:42
@thaJeztah
Copy link
Member Author

@AkihiroSuda @samuelkarp ptal 🤗

@thaJeztah
Copy link
Member Author

@tianon @AkihiroSuda ptal

Implements three options;

- WithTLSClientConfigFromEnv()
- WithHostFromEnv()
- WithVersionFromEnv()

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@AkihiroSuda AkihiroSuda merged commit 3b02526 into moby:master Feb 11, 2022
@thaJeztah thaJeztah deleted the more_client_opts branch February 11, 2022 07:32
@thaJeztah thaJeztah added this to the 21.xx milestone Feb 11, 2022
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.

3 participants