mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
client: testRoundTripper: remove unused skipConfigureTransport method
This was added in a315437e1c, likely because
I tried to do some interface matching, but currently it doesn't look to
be implementing one, so we can remove it.
client/client_options.go:136:25: func testRoundTripper.skipConfigureTransport is unused (unused)
func (testRoundTripper) skipConfigureTransport() bool { return true }
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -133,8 +133,6 @@ func (tf testRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)
|
||||
return tf(req)
|
||||
}
|
||||
|
||||
func (testRoundTripper) skipConfigureTransport() bool { return true }
|
||||
|
||||
// WithHostFromEnv overrides the client host with the host specified in the
|
||||
// DOCKER_HOST ([EnvOverrideHost]) environment variable. If DOCKER_HOST is not set,
|
||||
// or set to an empty value, the host is not modified.
|
||||
|
||||
2
vendor/github.com/moby/moby/client/client_options.go
generated
vendored
2
vendor/github.com/moby/moby/client/client_options.go
generated
vendored
@@ -133,8 +133,6 @@ func (tf testRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)
|
||||
return tf(req)
|
||||
}
|
||||
|
||||
func (testRoundTripper) skipConfigureTransport() bool { return true }
|
||||
|
||||
// WithHostFromEnv overrides the client host with the host specified in the
|
||||
// DOCKER_HOST ([EnvOverrideHost]) environment variable. If DOCKER_HOST is not set,
|
||||
// or set to an empty value, the host is not modified.
|
||||
|
||||
Reference in New Issue
Block a user