Merge pull request #7769 from hashicorp/colorless-timestamped-ui

allow to have timestamped colorless ui messages
This commit is contained in:
Megan Marsh 2019-06-21 11:17:35 -07:00 committed by GitHub
commit b8a3032d73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -156,12 +156,12 @@ 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,
}
}
}
}
// Now add timestamps if requested
if cfg.Timestamp {
ui = &packer.TimestampedUi{
Ui: ui,
}
}