Skip to content

Commit

Permalink
Remove use of deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
akrantz01 committed May 7, 2024
1 parent f4829ed commit 75cd70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtask/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use tracing::{info, log::LevelFilter};
pub async fn connect_to_cache(url: &str) -> eyre::Result<ConnectionManager> {
let client = redis::Client::open(url).wrap_err("invalid cache URL format")?;
let cache = client
.get_tokio_connection_manager()
.get_connection_manager()
.await
.wrap_err("failed to connect to the cache")?;

Expand Down

0 comments on commit 75cd70b

Please sign in to comment.