From 4535f60f02cb97b76a73021ded3898356be2d78c Mon Sep 17 00:00:00 2001 From: Florian Amsallem Date: Tue, 1 Oct 2024 10:36:06 +0200 Subject: [PATCH] editoast: fix no-cache option usage with docker Faking the ping command to pass the health check Signed-off-by: Florian Amsallem --- editoast/src/redis_utils.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/editoast/src/redis_utils.rs b/editoast/src/redis_utils.rs index 840b3d0632b..cc0fb5bf5cd 100644 --- a/editoast/src/redis_utils.rs +++ b/editoast/src/redis_utils.rs @@ -45,6 +45,7 @@ fn no_cache_cmd_handler(cmd: &redis::Cmd) -> std::result::Result Ok(redis::Value::Status("PONG".to_string())), redis::Arg::Simple(cmd_name_bytes) => unimplemented!( "redis command '{}' is not supported by editoast::redis_utils::RedisConnection with '--no-cache'", String::from_utf8(cmd_name_bytes.to_vec())? ),