Merge pull request #5040 from hashicorp/fix5039

disambiguates windows-restart messages.
This commit is contained in:
Matthew Hooker 2017-06-21 14:55:50 -07:00 committed by GitHub
commit 7358e65872
1 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ WaitLoop:
select {
case <-waitDone:
if err != nil {
ui.Error(fmt.Sprintf("Error waiting for WinRM: %s", err))
ui.Error(fmt.Sprintf("Error waiting for machine to restart: %s", err))
return err
}
@ -155,7 +155,7 @@ WaitLoop:
close(p.cancel)
break WaitLoop
case <-timeout:
err := fmt.Errorf("Timeout waiting for WinRM.")
err := fmt.Errorf("Timeout waiting for machine to restart.")
ui.Error(err.Error())
close(p.cancel)
return err