Skip to content

Commit

Permalink
HDDS-11699. Fix review notices
Browse files Browse the repository at this point in the history
  • Loading branch information
juncevich committed Jan 9, 2025
1 parent b37dd91 commit 1252cf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1775,7 +1775,7 @@ public OzoneKeyDetails getS3KeyDetails(String bucketName, String keyName,
.filter(omKeyLocationInfo -> omKeyLocationInfo.getPartNumber() ==
partNumber)
.collect(Collectors.toList());
keyInfo.updateLocationInfoList(filteredKeyLocationInfo, false);
keyInfo.updateLocationInfoList(filteredKeyLocationInfo, false, true);
keyInfo.setDataSize(filteredKeyLocationInfo.stream()
.mapToLong(OmKeyLocationInfo::getLength)
.sum());
Expand Down

0 comments on commit 1252cf6

Please sign in to comment.