forked from TrueCloudLab/rclone
backend/qingstor: prune multiUploader.list()
This commit is contained in:
parent
3893c14889
commit
8b14cd24aa
1 changed files with 0 additions and 15 deletions
|
@ -297,21 +297,6 @@ func (mu *multiUploader) send(c chunk) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// list list the ObjectParts of an multipart upload
|
|
||||||
func (mu *multiUploader) list() error {
|
|
||||||
bucketInit, _ := mu.bucketInit()
|
|
||||||
|
|
||||||
req := qs.ListMultipartInput{
|
|
||||||
UploadID: mu.uploadID,
|
|
||||||
}
|
|
||||||
fs.Debugf(mu, "Reading multi-part details")
|
|
||||||
rsp, err := bucketInit.ListMultipart(mu.cfg.key, &req)
|
|
||||||
if err == nil {
|
|
||||||
mu.objectParts = rsp.ObjectParts
|
|
||||||
}
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
// complete complete an multipart upload
|
// complete complete an multipart upload
|
||||||
func (mu *multiUploader) complete() error {
|
func (mu *multiUploader) complete() error {
|
||||||
var err error
|
var err error
|
||||||
|
|
Loading…
Reference in a new issue