This moves the engine-api client package to `/docker/docker/client`. Signed-off-by: Michael Crosby <crosbymichael@gmail.com> Upstream-commit: 7c36a1af031b510cd990cf488ee5998a3efb450f Component: engine
12 lines
286 B
Go
12 lines
286 B
Go
// +build !go1.7,!windows
|
|
|
|
package transport
|
|
|
|
import "crypto/tls"
|
|
|
|
// TLSConfigClone returns a clone of tls.Config. This function is provided for
|
|
// compatibility for go1.7 that doesn't include this method in stdlib.
|
|
func TLSConfigClone(c *tls.Config) *tls.Config {
|
|
return c.Clone()
|
|
}
|