Chris Lu 4 years ago
parent
commit
8a7302ce37
  1. 2
      weed/s3api/s3api_objects_list_handlers.go

2
weed/s3api/s3api_objects_list_handlers.go

@ -71,7 +71,7 @@ func (s3a *S3ApiServer) ListObjectsV2Handler(w http.ResponseWriter, r *http.Requ
ContinuationToken: continuationToken,
Delimiter: response.Delimiter,
IsTruncated: response.IsTruncated,
KeyCount: len(response.Contents),
KeyCount: len(response.Contents) + len(response.CommonPrefixes),
MaxKeys: response.MaxKeys,
NextContinuationToken: response.NextMarker,
Prefix: response.Prefix,

Loading…
Cancel
Save