Merge pull request #1305 from jedevc/progress-group-prefixed-writer

progress: add prefix to vertex progress group
pull/1431/head
CrazyMax 2 years ago committed by GitHub
commit ae59e1f72e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,6 +24,9 @@ func (p *prefixed) Write(v *client.SolveStatus) {
if p.force { if p.force {
for _, v := range v.Vertexes { for _, v := range v.Vertexes {
v.Name = addPrefix(p.pfx, v.Name) v.Name = addPrefix(p.pfx, v.Name)
if v.ProgressGroup != nil {
v.ProgressGroup.Name = addPrefix(p.pfx, v.ProgressGroup.Name)
}
} }
} }
p.Writer.Write(v) p.Writer.Write(v)

Loading…
Cancel
Save