Skip to content

ROLE command with JSON output has extra quote #748

@Kilowhisky

Description

@Kilowhisky

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions