Add extra call of flushPart to avoid of losing pendingBytes
Signed-off-by: Maksym Trofimenko <maksym@container-registry.com>
This commit is contained in:
parent
6a57630cf4
commit
4b4747a8cc
1 changed files with 1 additions and 1 deletions
|
@ -1539,5 +1539,5 @@ func (w *writer) flushPart() error {
|
||||||
})
|
})
|
||||||
w.readyPart = w.pendingPart
|
w.readyPart = w.pendingPart
|
||||||
w.pendingPart = nil
|
w.pendingPart = nil
|
||||||
return nil
|
return w.flushPart()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue