mirror of https://github.com/docker/cli.git
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:
parent
4dcceaf70e
commit
3b27c0eeb2
|
@ -33,7 +33,7 @@ func TestNewEnvClient(t *testing.T) {
|
|||
envs: map[string]string{
|
||||
"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{
|
||||
|
|
Loading…
Reference in New Issue