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

ROLE command with JSON output has extra quote #748

Closed
Kilowhisky opened this issue Aug 2, 2024 · 1 comment · Fixed by #749
Closed

ROLE command with JSON output has extra quote #748

Kilowhisky opened this issue Aug 2, 2024 · 1 comment · Fixed by #749

Comments

@Kilowhisky
Copy link
Contributor

Describe the bug
When issuing the ROLE command when OUTPUT is set to JSON you get.

{"ok":true,"role":{""role":"master","offset":3700273127,"slaves":[]},"elapsed":"6.362µs"}

There is an extra quote in {""role.

@tidwall
Copy link
Owner

tidwall commented Aug 2, 2024

Thanks for the PR. Just pushed a new release.

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.

2 participants