diff --git a/docker/errors.py b/docker/errors.py index 066406ae..e85910cd 100644 --- a/docker/errors.py +++ b/docker/errors.py @@ -80,8 +80,8 @@ class TLSParameterError(DockerException): def __str__(self): return self.msg + (". TLS configurations should map the Docker CLI " "client configurations. See " - "http://docs.docker.com/examples/https/ for " - "API details.") + "https://docs.docker.com/engine/articles/https/ " + "for API details.") class NullResource(DockerException, ValueError): diff --git a/docker/tls.py b/docker/tls.py index d888b7d4..94d736b1 100644 --- a/docker/tls.py +++ b/docker/tls.py @@ -13,7 +13,7 @@ class TLSConfig(object): ssl_version=None, assert_hostname=None, assert_fingerprint=None): # Argument compatibility/mapping with - # http://docs.docker.com/examples/https/ + # https://docs.docker.com/engine/articles/https/ # This diverges from the Docker CLI in that users can specify 'tls' # here, but also disable any public/default CA pool verification by # leaving tls_verify=False