disambiguates windows-restart messages.

This commit is contained in:
Matthew Hooker 2017-06-21 10:51:23 -07:00
parent 837c35206a
commit 67e29e1eff
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
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