From 230ff3ae65ab0d2c258f80701a00f6886bfe8dff Mon Sep 17 00:00:00 2001 From: NAM UK KIM Date: Tue, 3 Sep 2024 15:58:09 +0900 Subject: [PATCH] Fix typo in valkey-cli.c (#979) Change from replicsa to replicas in valkey-cli.c Signed-off-by: NAM UK KIM Signed-off-by: Ping Xie --- src/valkey-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/valkey-cli.c b/src/valkey-cli.c index 61c1e6255..01fcf6e43 100644 --- a/src/valkey-cli.c +++ b/src/valkey-cli.c @@ -4219,7 +4219,7 @@ static void clusterManagerOptimizeAntiAffinity(clusterManagerNodeArray *ipnodes, if (perfect) msg = "[OK] Perfect anti-affinity obtained!"; else if (score >= 10000) - msg = ("[WARNING] Some replicsa are in the same host as their primary"); + msg = ("[WARNING] Some replicas are in the same host as their primary"); else msg = ("[WARNING] Some replicas of the same primary are in the same host"); clusterManagerLog(log_level, "%s\n", msg);