Merge pull request #7936 from stephen-fox/log-step-download-debug

Use 'log.Printf()' for StepDownload debug instead of 'ui.Say()'.
pull/7944/head
Megan Marsh 7 years ago committed by GitHub
commit 95116e37bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -53,9 +53,9 @@ 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 := state.Get("ui").(packer.Ui)
ui.Say(fmt.Sprintf("Retrieving %s", s.Description))
var errs []error

Loading…
Cancel
Save