mirror of https://github.com/hashicorp/terraform
If a connection fails and attempts to reconnect after the keep-alive loop started, the client will be pulled out from under the keep-alive requests. Close over a local copy of the client, so that reconnecting doesn't race with the keepalive loop terminating.pull/22979/head
parent
e6795556f3
commit
bbde7e3e35
Loading…
Reference in new issue