Skip to content

CLUSTER NODES command does not return the node hostname #3342

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

Closed
dudizimber opened this issue Aug 1, 2024 · 0 comments · Fixed by #3343
Closed

CLUSTER NODES command does not return the node hostname #3342

dudizimber opened this issue Aug 1, 2024 · 0 comments · Fixed by #3343

Comments

@dudizimber
Copy link
Contributor

Version: 5.0.7

Platform: Python 3.11.4 on Mac OS 14.0

Description:
The CLUSTER NODES command returns a dictionary with the nodes' IP. It does not have a field for the hostname if a hostname was supplied to the node on initialization.

Proposal:
Add a "hostname" field to the _parse_node_line function response if the hostname, if there is one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant