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
|
||||
return
|
||||
}
|
||||
|
||||
err = tw.Close()
|
||||
if err != nil {
|
||||
errs <- err
|
||||
return
|
||||
}
|
||||
|
||||
_, err = file.Seek(0, io.SeekStart)
|
||||
if err != nil {
|
||||
errs <- err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue