packer: Fixin bugs in PrefixUi calling the wrong method

This commit is contained in:
Mitchell Hashimoto
2013-06-03 13:54:28 -07:00
parent 3e1b10c09e
commit e21d389fd2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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