mirror of
https://github.com/rclone/rclone
synced 2024-12-14 02:29:58 +01:00
qingstor: fix errors in debug parameters noticed by go1.9 go vet
This commit is contained in:
parent
0158ab6926
commit
459cf64403
@ -854,7 +854,7 @@ func (o *Object) Update(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOptio
|
|||||||
fs.Errorf(o, "Create Object Faild, API ERROR: %v", err)
|
fs.Errorf(o, "Create Object Faild, API ERROR: %v", err)
|
||||||
// Abort Upload when init success and upload failed
|
// Abort Upload when init success and upload failed
|
||||||
if uploadID != nil {
|
if uploadID != nil {
|
||||||
fs.Debugf(o, "Abort Upload Multipart, upload_id: %s, objectParts: %s", *uploadID, objectParts)
|
fs.Debugf(o, "Abort Upload Multipart, upload_id: %s, objectParts: %+v", *uploadID, objectParts)
|
||||||
abortReq := qs.AbortMultipartUploadInput{
|
abortReq := qs.AbortMultipartUploadInput{
|
||||||
UploadID: uploadID,
|
UploadID: uploadID,
|
||||||
}
|
}
|
||||||
@ -908,7 +908,7 @@ func (o *Object) Update(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOptio
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Complete Multipart Upload
|
// Complete Multipart Upload
|
||||||
fs.Debugf(o, "Complete Upload Multipart, upload_id: %s, objectParts: %d", *uploadID, objectParts)
|
fs.Debugf(o, "Complete Upload Multipart, upload_id: %s, objectParts: %d", *uploadID, len(objectParts))
|
||||||
completeReq := qs.CompleteMultipartUploadInput{
|
completeReq := qs.CompleteMultipartUploadInput{
|
||||||
UploadID: uploadID,
|
UploadID: uploadID,
|
||||||
ObjectParts: objectParts,
|
ObjectParts: objectParts,
|
||||||
|
Loading…
Reference in New Issue
Block a user