Skip to content

Commit

Permalink
fixup! add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Nov 28, 2024
1 parent d6405ac commit b407f63
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkg/osbuildmonitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ func (sr *StatusScanner) Status() (*Status, error) {
Trace: trace,
Message: msg,
Progress: &Progress{
Done: status.Progress.Done,
Total: status.Progress.Total,
Done: status.Progress.Done,
Total: status.Progress.Total,
// XXX: remove again, not useful
Message: fmt.Sprintf("Pipeline %s", pipelineName),
},
Timestamp: ts,
Expand All @@ -130,8 +131,9 @@ func (sr *StatusScanner) Status() (*Status, error) {
prog := st.Progress
for subProg := status.Progress.SubProgress; subProg != nil; subProg = subProg.SubProgress {
prog.SubProgress = &Progress{
Done: subProg.Done,
Total: subProg.Total,
Done: subProg.Done,
Total: subProg.Total,
// XXX: remove again, not useful
Message: stageName,
}
prog = prog.SubProgress
Expand Down

0 comments on commit b407f63

Please sign in to comment.