mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 14:10:25 +03:00
Fix ListObjectParts to list properly all parts - closes #4322
This commit is contained in:
committed by
Harshavardhana
parent
52122c0309
commit
9c50a9f567
+2
-2
@@ -649,7 +649,7 @@ func fromGCSMultipartKey(s string) (key, uploadID string, partID int, err error)
|
||||
|
||||
key = unescape(parts[1])
|
||||
|
||||
uploadID = parts[3]
|
||||
uploadID = parts[2]
|
||||
|
||||
partID, err = strconv.Atoi(parts[3])
|
||||
if err != nil {
|
||||
@@ -728,7 +728,7 @@ func (l *gcsGateway) ListObjectParts(bucket string, key string, uploadID string,
|
||||
|
||||
isTruncated := false
|
||||
|
||||
it.PageInfo().Token = toGCSMultipartKey(key, uploadID, partNumberMarker)
|
||||
it.PageInfo().Token = toGCSPageToken(toGCSMultipartKey(key, uploadID, partNumberMarker))
|
||||
it.PageInfo().MaxSize = maxParts
|
||||
|
||||
nextPartnumberMarker := 0
|
||||
|
||||
Reference in New Issue
Block a user