Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Write a nodes info output parser that doesn't rely on treating it like YAML #4

@beautifulentropy

Description

@beautifulentropy

Parsing of Redis Nodes Info is currently done by adding a little whitespace after each : and then parsing it to a struct as YAML. This is kinda hacky and could have some unintended side-effects as YAML is more expressive than Redis Nodes info. Write a parser that handles this using reflect to parse the result of each key to a string and value to a string or an int.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions