Skip to content
This repository was archived by the owner on Sep 17, 2018. It is now read-only.

Commit ee9bc87

Browse files
committed
docker: fix for OSX
1 parent 97e2e81 commit ee9bc87

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docker.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import (
88
)
99

1010
func newDockerClient() (c *docker.Client, err error) {
11-
if path := os.Getenv("DOCKER_TLS_VERIFY"); path != "" {
11+
if allowed := os.Getenv("DOCKER_TLS_VERIFY"); allowed != "" {
12+
path := os.Getenv("DOCKER_CERT_PATH")
1213

1314
c, err = docker.NewTLSClient(os.Getenv("DOCKER_HOST"),
1415
path+"/cert.pem",

0 commit comments

Comments
 (0)