From 9f5e3478c5186b4a88d96190e9c1eda82a70f250 Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Wed, 14 Feb 2024 10:45:28 -0800 Subject: [PATCH] Update documentation for `CONFIG GET` command. Signed-off-by: Yury-Fridlyand --- node/src/RedisClusterClient.ts | 4 ++-- python/python/glide/async_commands/cluster_commands.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/node/src/RedisClusterClient.ts b/node/src/RedisClusterClient.ts index d22924121b..0225c77637 100644 --- a/node/src/RedisClusterClient.ts +++ b/node/src/RedisClusterClient.ts @@ -305,9 +305,9 @@ export class RedisClusterClient extends BaseClient { * See https://redis.io/commands/config-get/ for details. * * @param parameters - A list of configuration parameter names to retrieve values for. - * @param route - The command will be routed to all nodes, unless `route` is provided, in which + * @param route - The command will be routed to a random node, unless `route` is provided, in which * case the client will route the command to the nodes defined by `route`. - * If `route` is not provided, the command will be sent to the all nodes. + * If `route` is not provided, the command will be sent to a random node. * * @returns A map of values corresponding to the configuration parameters. When specifying a route other than a single node, * it returns a dictionary where each address is the key and its corresponding node response is the value. diff --git a/python/python/glide/async_commands/cluster_commands.py b/python/python/glide/async_commands/cluster_commands.py index 5aee73045c..48049ad83f 100644 --- a/python/python/glide/async_commands/cluster_commands.py +++ b/python/python/glide/async_commands/cluster_commands.py @@ -182,7 +182,7 @@ async def config_get( Args: parameters (List[str]): A list of configuration parameter names to retrieve values for. - route (Optional[Route]): The command will be routed to all nodes, unless `route` is provided, + route (Optional[Route]): The command will be routed to a random node, unless `route` is provided, in which case the client will route the command to the nodes defined by `route`. Returns: