Skip to content

Commit 87d70c2

Browse files
committed
Fix upstream problem
1 parent f65d139 commit 87d70c2

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)