From 67e29e1effc006abd3a5134261400aacf756ab5e Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Wed, 21 Jun 2017 10:51:23 -0700 Subject: [PATCH] disambiguates windows-restart messages. --- provisioner/windows-restart/provisioner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/provisioner/windows-restart/provisioner.go b/provisioner/windows-restart/provisioner.go index ed7dfee63..d5d5bb2e2 100644 --- a/provisioner/windows-restart/provisioner.go +++ b/provisioner/windows-restart/provisioner.go @@ -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