Use 'log.Printf()' for StepDownload debug instead of 'ui.Say()'.

This commit is contained in:
Stephen Fox 2019-07-31 14:02:57 -04:00
parent a0a11bd109
commit e362d2f3ee
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ type StepDownload struct {
func (s *StepDownload) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction { func (s *StepDownload) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction {
ui := state.Get("ui").(packer.Ui) 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)) ui.Say(fmt.Sprintf("Retrieving %s", s.Description))