use an encrypted client certificate to connect to a docker daemon

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
This commit is contained in:
Arash Deshmeh 2017-02-25 15:17:23 -05:00
parent 4dcceaf70e
commit 3b27c0eeb2
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ func TestNewEnvClient(t *testing.T) {
envs: map[string]string{ envs: map[string]string{
"DOCKER_CERT_PATH": "invalid/path", "DOCKER_CERT_PATH": "invalid/path",
}, },
expectedError: "Could not load X509 key pair: open invalid/path/cert.pem: no such file or directory. Make sure the key is not encrypted", expectedError: "Could not load X509 key pair: open invalid/path/cert.pem: no such file or directory",
}, },
{ {
envs: map[string]string{ envs: map[string]string{