Merge pull request #7936 from stephen-fox/log-step-download-debug
Use 'log.Printf()' for StepDownload debug instead of 'ui.Say()'.
This commit is contained in:
commit
95116e37bb
|
@ -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…
Reference in New Issue