Skip to content

Commit a26a22b

Browse files
authored
Merge pull request moby#4116 from jsternberg/multi-writer-memory-allocs
Avoid unnecessary map allocation when writing progress
2 parents 607f148 + 4c83fcf commit a26a22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/progress/multiwriter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (ps *MultiWriter) Write(id string, v interface{}) error {
6565
Sys: v,
6666
meta: ps.meta,
6767
}
68-
return ps.WriteRawProgress(p)
68+
return ps.writeRawProgress(p)
6969
}
7070

7171
func (ps *MultiWriter) WriteRawProgress(p *Progress) error {

0 commit comments

Comments
 (0)