backend/qingstor: prune multiUploader.list()

This commit is contained in:
Lars Lehtonen 2020-02-13 11:14:16 -08:00 committed by Nick Craig-Wood
parent 3893c14889
commit 8b14cd24aa
1 changed files with 0 additions and 15 deletions

View File

@ -297,21 +297,6 @@ func (mu *multiUploader) send(c chunk) error {
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
func (mu *multiUploader) complete() error {
var err error