Skip to content

Commit 6ef9a28

Browse files
committed
rgw_cksum: fix ReadOp comment
parts_count now returns a value for parts_count whenever the target object is a multipart upload. this has no additional overhead, since this can be read off the manifest Signed-off-by: Matt Benjamin <[email protected]>
1 parent 84f1e6f commit 6ef9a28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rgw/rgw_sal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,8 +1049,8 @@ class Object {
10491049

10501050
/// If non-null, read data/attributes from the given multipart part.
10511051
int* part_num{nullptr};
1052-
/// If part_num is specified and the object is multipart, the total
1053-
/// number of multipart parts is assigned to this output parameter.
1052+
/// If the object is multipart, the total number of multipart
1053+
/// parts is assigned to this output parameter.
10541054
std::optional<int> parts_count;
10551055
} params;
10561056

0 commit comments

Comments
 (0)