fix: remove defer chan close

This commit is contained in:
Derrick Hammer 2024-02-01 19:15:02 -05:00
parent d15ec4e81e
commit 9825c904da
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 1 deletions

View File

@ -168,7 +168,6 @@ func (r *RenterDefault) MultipartUpload(params MultiPartUploadParams) error {
end = size
}
next := make(chan struct{}, 0)
defer close(next)
job := r.cron.RetryableTask(cron.RetryableTaskParams{
Name: fileName + "-part-" + strconv.FormatUint(i, 10),