mirror of
https://github.com/moby/moby.git
synced 2026-07-11 18:13:57 +00:00
builder: notify output buffering on body close
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
@@ -345,6 +345,11 @@ func (r *rcNotifier) Read(b []byte) (int, error) {
|
||||
return n, err
|
||||
}
|
||||
|
||||
func (r *rcNotifier) Close() error {
|
||||
r.notify()
|
||||
return r.Closer.Close()
|
||||
}
|
||||
|
||||
type wcf struct {
|
||||
writeCloseFlusher
|
||||
mu sync.Mutex
|
||||
|
||||
Reference in New Issue
Block a user