Merge pull request #7769 from hashicorp/colorless-timestamped-ui
allow to have timestamped colorless ui messages
This commit is contained in:
commit
b8a3032d73
|
@ -156,14 +156,14 @@ func (c *BuildCommand) RunContext(buildCtx context.Context, args []string) int {
|
|||
// Add a newline between the color output and the actual output
|
||||
c.Ui.Say("")
|
||||
}
|
||||
}
|
||||
}
|
||||
// Now add timestamps if requested
|
||||
if cfg.Timestamp {
|
||||
ui = &packer.TimestampedUi{
|
||||
Ui: ui,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
buildUis[b] = ui
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue