Upstream versity/versitygw state of the touched files before daa25ed6bc

This commit is contained in:
upstream committed 2026-10-02 16:40:16 +02:00
1 parent 7a0b44c275
commit f81c6a5acb
6 files changed
+10766 -20

No files matched your search

File diff suppressed because it is too large. Load diff
+2 -12
View File
@@ -126,9 +126,8 @@ func (l *MultipartUploadLister) Run() (*ListMultipartUploadsPage, error) {
if out.IsTruncated {
out.NextKeyMarker = lastKey
out.NextUploadIDMarker = up.UploadID
return out, nil
}
break
return out, nil
}
}
continue
@@ -140,20 +139,11 @@ func (l *MultipartUploadLister) Run() (*ListMultipartUploadsPage, error) {
if out.IsTruncated {
out.NextKeyMarker = lastKey
out.NextUploadIDMarker = up.UploadID
return out, nil
}
break
return out, nil
}
}
// a listing that is not truncated still reports its last upload
// in the next markers
if len(out.Uploads) != 0 {
last := out.Uploads[len(out.Uploads)-1]
out.NextKeyMarker = last.Key
out.NextUploadIDMarker = last.UploadID
}
return out, nil
}
File diff suppressed because it is too large. Load diff