Skip to content

Commit e6e039f

Browse files
authored
fix: close archivePath (#2027)
## Summary ## How was it tested? Signed-off-by: guangwu <[email protected]>
1 parent 985d27a commit e6e039f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/pullbox/s3/push.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ func Push(
3737
if err != nil {
3838
return err
3939
}
40+
defer file.Close()
4041

4142
_, err = s3Client.Upload(ctx, &s3.PutObjectInput{
4243
Bucket: aws.String(bucket),

0 commit comments

Comments
 (0)