osbuild-jobsite-manager: close writer before sending the store
This commit is contained in:
parent
dabe63cb78
commit
c19e9fb3b9
1 changed files with 7 additions and 0 deletions
|
|
@ -319,6 +319,13 @@ func StepPopulate() error {
|
||||||
errs <- err
|
errs <- err
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err = tw.Close()
|
||||||
|
if err != nil {
|
||||||
|
errs <- err
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
_, err = file.Seek(0, io.SeekStart)
|
_, err = file.Seek(0, io.SeekStart)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errs <- err
|
errs <- err
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue