fix: remove defer chan close
This commit is contained in:
parent
d15ec4e81e
commit
9825c904da
|
@ -168,7 +168,6 @@ func (r *RenterDefault) MultipartUpload(params MultiPartUploadParams) error {
|
||||||
end = size
|
end = size
|
||||||
}
|
}
|
||||||
next := make(chan struct{}, 0)
|
next := make(chan struct{}, 0)
|
||||||
defer close(next)
|
|
||||||
|
|
||||||
job := r.cron.RetryableTask(cron.RetryableTaskParams{
|
job := r.cron.RetryableTask(cron.RetryableTaskParams{
|
||||||
Name: fileName + "-part-" + strconv.FormatUint(i, 10),
|
Name: fileName + "-part-" + strconv.FormatUint(i, 10),
|
||||||
|
|
Loading…
Reference in New Issue