use no ops for ansible ui & MachineReadableUi
This commit is contained in:
parent
fd7cb47adc
commit
9b07d7670e
|
@ -331,6 +331,5 @@ func (u *MachineReadableUi) Machine(category string, args ...string) {
|
|||
}
|
||||
|
||||
func (u *MachineReadableUi) ProgressBar() ProgressBar {
|
||||
panic("MachineReadableUi")
|
||||
return nil // no-op
|
||||
return new(NoopProgressBar)
|
||||
}
|
||||
|
|
|
@ -614,6 +614,5 @@ func (ui *Ui) Machine(t string, args ...string) {
|
|||
}
|
||||
|
||||
func (ui *Ui) ProgressBar() packer.ProgressBar {
|
||||
panic("to implement")
|
||||
return nil // TODO
|
||||
return new(packer.NoopProgressBar)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue