From cf9a0bf9ba34e70b88e46a2a27982b6fbe4857c9 Mon Sep 17 00:00:00 2001 From: Emmie Maeda Date: Tue, 24 Oct 2023 00:05:21 -0400 Subject: [PATCH] Address clippy lint. --- deepwell/src/endpoints/misc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepwell/src/endpoints/misc.rs b/deepwell/src/endpoints/misc.rs index ccf44c2e14..4865eab209 100644 --- a/deepwell/src/endpoints/misc.rs +++ b/deepwell/src/endpoints/misc.rs @@ -38,7 +38,7 @@ async fn postgres_check(ctx: &ServiceContext<'_>) -> Result<()> { async fn redis_check(ctx: &ServiceContext<'_>) -> Result<()> { ctx.redis() - .send_packed_command(&redis::Cmd::new().arg("PING")) + .send_packed_command(redis::Cmd::new().arg("PING")) .await?; debug!("Successfully pinged Redis");