Skip to content

Commit b21bf85

Browse files
authored
Merge pull request #179 from covexo/sync-improvements
Fix upstream problem
2 parents 91f5ce0 + 87d70c2 commit b21bf85

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pkg/devspace/sync/upstream.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ func (u *upstream) uploadArchive(file *os.File, fileSize string, writtenFiles ma
306306
return errors.Trace(err)
307307
}
308308

309+
// Do not remove this line otherwise the delete will fail
310+
file.Close()
311+
309312
// Delete local file
310313
err = os.Remove(file.Name())
311314
if err != nil {

0 commit comments

Comments
 (0)