Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation for CONFIG GET command. #967

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions node/src/RedisClusterClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion python/python/glide/async_commands/cluster_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading