Update communicator/ssh/communicator.go

Co-Authored-By: Kristin Laemmert <mildwonkey@users.noreply.github.com>
This commit is contained in:
James Bardin 2019-10-02 15:03:18 -04:00 committed by GitHub
parent bbde7e3e35
commit 1ccf1bd9a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ func (c *Communicator) Connect(o terraform.UIOutput) (err error) {
// long-running commands. // long-running commands.
log.Printf("[DEBUG] starting ssh KeepAlives") log.Printf("[DEBUG] starting ssh KeepAlives")
// We wont a local copy of the ssh client pointer, so that a reconnect // We want a local copy of the ssh client pointer, so that a reconnect
// doesn't race with the running keep-alive loop. // doesn't race with the running keep-alive loop.
sshClient := c.client sshClient := c.client
go func() { go func() {