Merge pull request #23661 from jcaamano/master

ssh: Fix deadlock on agent forwarding error
This commit is contained in:
James Bardin 2019-12-16 11:06:49 -05:00 committed by GitHub
commit a119ac17a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ func (c *Communicator) Connect(o terraform.UIOutput) (err error) {
} }
log.Printf("[DEBUG] Setting up a session to request agent forwarding") log.Printf("[DEBUG] Setting up a session to request agent forwarding")
session, err := c.newSession() session, err := c.client.NewSession()
if err != nil { if err != nil {
return err return err
} }