Skip to content

Commit 73ba2c0

Browse files
docs(services/s3): fix inverted comment on disable_list_objects_v2 (#7820)
The first line of the doc comment said disabling list objects v2 makes OpenDAL 'not use the older List Objects V1', which is the opposite of the actual behavior. Setting disable_list_objects_v2 = true makes the backend select S3ListerV1, i.e. it falls back TO the older List Objects V1. Fix the wording to 'fall back to the older List Objects V1' to match the code and the following sentence about legacy services not supporting V2.
1 parent a004995 commit 73ba2c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/services/s3/src/backend.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ impl S3Builder {
404404
self
405405
}
406406

407-
/// Disable list objects v2 so that opendal will not use the older
407+
/// Disable list objects v2 so that opendal will fall back to the older
408408
/// List Objects V1 to list objects.
409409
///
410410
/// By default, OpenDAL uses List Objects V2 to list objects. However,

0 commit comments

Comments
 (0)