Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Check that instance has started before polling SSH #1268

Merged
merged 1 commit into from
Jun 2, 2015
Merged

Check that instance has started before polling SSH #1268

merged 1 commit into from
Jun 2, 2015

Conversation

janeczku
Copy link
Contributor

After creating a new instance, we should check that this instance has been started before invoking the WaitForSSH method. We should not attempt to TCP connect to a host that is in state stopped/pending.
Typically the console is also spammed with dozens of identical debug messages when that happens:
Error waiting for TCP waiting for SSH
...

See also discussion in #1255.

Signed-off-by: Jan Broer janeczku@yahoo.de

@ehazlett
Copy link
Contributor

Looks like this needs a gofmt

@janeczku
Copy link
Contributor Author

oops :)

Signed-off-by: Jan Broer <janeczku@yahoo.de>
@nathanleclaire
Copy link
Contributor

LGTM

ehazlett added a commit that referenced this pull request Jun 2, 2015
Check that instance has started before polling SSH
@ehazlett ehazlett merged commit a879b39 into docker:master Jun 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants