Skip to content

Commit 23cf6d8

Browse files
authored
object_store: fix typo in with_connect_timeout_disabled that actually disabled non-connect timeouts (#6563)
1 parent 522bd01 commit 23cf6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

object_store/src/client/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ impl ClientOptions {
501501
///
502502
/// See [`Self::with_connect_timeout`]
503503
pub fn with_connect_timeout_disabled(mut self) -> Self {
504-
self.timeout = None;
504+
self.connect_timeout = None;
505505
self
506506
}
507507

0 commit comments

Comments
 (0)