mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-26 09:44:01 -04:00
packer: Fixin bugs in PrefixUi calling the wrong method
This commit is contained in:
@@ -73,13 +73,13 @@ func (c Command) Run(env packer.Environment, args []string) int {
|
||||
|
||||
ui = &packer.ColoredUi{
|
||||
colors[i%len(colors)],
|
||||
ui,
|
||||
env.Ui(),
|
||||
}
|
||||
|
||||
ui = &packer.PrefixedUi{
|
||||
fmt.Sprintf("==> %s", b.Name()),
|
||||
fmt.Sprintf(" %s", b.Name()),
|
||||
env.Ui(),
|
||||
ui,
|
||||
}
|
||||
|
||||
buildUis[b.Name()] = ui
|
||||
|
||||
Reference in New Issue
Block a user