Skip to content

Commit

Permalink
fix(logging): doubling in build summary block with several sets
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
  • Loading branch information
alexey-igrychev committed Apr 28, 2023
1 parent e685c0e commit 59b7bf5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pkg/build/conveyor.go
Expand Up @@ -647,12 +647,10 @@ func (c *Conveyor) doImagesInParallel(ctx context.Context, phases []Phase, logIm
options.Style(stylePkg.Highlight())
}).
Do(func() {
for setId := range c.imagesTree.GetImagesSets() {
for setId, setImageExecutionTImes := range setImageExecutionTimesArray {
logboek.Context(ctx).LogFHighlight("Set #%d:\n", setId)
for _, setTaskTitles := range setImageExecutionTimesArray {
for _, taskTitle := range setTaskTitles {
logboek.Context(ctx).LogLnHighlight("-", taskTitle)
}
for _, msg := range setImageExecutionTImes {
logboek.Context(ctx).LogLnHighlight("-", msg)
}
logboek.Context(ctx).LogOptionalLn()
}
Expand Down

0 comments on commit 59b7bf5

Please sign in to comment.