From e362d2f3eef3b39e011744ece6bbdf5035ece5ae Mon Sep 17 00:00:00 2001 From: Stephen Fox Date: Wed, 31 Jul 2019 14:02:57 -0400 Subject: [PATCH] Use 'log.Printf()' for StepDownload debug instead of 'ui.Say()'. --- common/step_download.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/step_download.go b/common/step_download.go index ab75f3392..e8757c1df 100644 --- a/common/step_download.go +++ b/common/step_download.go @@ -54,7 +54,7 @@ type StepDownload struct { func (s *StepDownload) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction { ui := state.Get("ui").(packer.Ui) - defer ui.Say(fmt.Sprintf("leaving retrieve loop for %s", s.Description)) + defer log.Printf("Leaving retrieve loop for %s", s.Description) ui.Say(fmt.Sprintf("Retrieving %s", s.Description))