Skip to content

Commit

Permalink
fix: displaying log parallel status (#5464)
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 committed May 21, 2024
1 parent 19efc14 commit 35b96dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/tcl/testworkflow-toolkit/commands/parallel.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,12 @@ func NewParallelCmd() *cobra.Command {

// Handle result change
if v.Status != prevStatus || v.Current != prevStep {
updates <- Update{index: index, result: v.Result}
prevStep = v.Current
prevStatus = v.Status
if v.Status != prevStatus {
log(string(v.Status))
}
updates <- Update{index: index, result: v.Result}
prevStep = v.Current
prevStatus = v.Status
if v.Result.IsFinished() {
data.PrintOutput(env.Ref(), "parallel", ParallelStatus{Index: int(index), Status: v.Status, Result: v.Result})
ctxCancel()
Expand Down

0 comments on commit 35b96dd

Please sign in to comment.