Skip to content

Commit 68e7fa4

Browse files
committed
Fixed merged issues
Signed-off-by: barshaul <[email protected]>
1 parent 9da21fd commit 68e7fa4

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

glide-core/redis-rs/redis/src/cluster_async/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,8 +1969,6 @@ where
19691969
}
19701970

19711971
/// Handles MOVED errors by updating the client's slot and node mappings based on the new primary's role:
1972-
/// /// Updates the slot and node mappings in response to a MOVED error.
1973-
/// This function handles various scenarios based on the new primary's role:
19741972
///
19751973
/// 1. **No Change**: If the new primary is already the current slot owner, no updates are needed.
19761974
/// 2. **Failover**: If the new primary is a replica within the same shard (indicating a failover),
@@ -2550,7 +2548,7 @@ where
25502548
if let Some(future) = future {
25512549
self.in_flight_requests.push(Box::pin(Request {
25522550
retry_params,
2553-
request: Some(request),
2551+
request,
25542552
future,
25552553
}));
25562554
}

glide-core/redis-rs/redis/tests/auth.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ mod auth {
134134
create_connection(None, ConnectionType::Cluster, Some(&cluster_context), None).await;
135135
assert!(connection_should_fail.is_err());
136136
let err = connection_should_fail.err().unwrap();
137-
println!("{}", err.to_string());
138137
assert!(err.to_string().contains("Authentication required."));
139138

140139
// Test that we can connect with password

0 commit comments

Comments
 (0)