From b2811a8252a1e69bc064da38811a1cb92771c7a5 Mon Sep 17 00:00:00 2001 From: georgevicbell Date: Thu, 16 Jul 2015 21:51:13 -0400 Subject: [PATCH] Update communicator.go --- builder/docker/communicator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/docker/communicator.go b/builder/docker/communicator.go index c07cc2f70..63ef4cd5b 100644 --- a/builder/docker/communicator.go +++ b/builder/docker/communicator.go @@ -45,7 +45,7 @@ func (c *Communicator) Start(remote *packer.RemoteCmd) error { var cmd *exec.Cmd if c.canExec() { - if c.config.Pty { + if c.Config.Pty { cmd = exec.Command("docker", "exec", "-i", "-t", c.ContainerId, "/bin/sh") } else { cmd = exec.Command("docker", "exec", "-i", c.ContainerId, "/bin/sh")