Skip to content

gstatus output values as strings #60

@brezzii

Description

@brezzii

when running gstatus -a -o json
to get gluster json

it return my object field number values as strings (type)

example object:
"healinfo": [
{
"name": "device:/rhgs/node1_brick1/disk_vol2",
"status": "Connected",
"host_uuid": "7c99b0ca-d912-4fc7-b4c0-535686744dc3",
"nr_entries": "21" >> this value "21" is returned with type of "String" instead of "Integer"

we would like to get it as Intger value

however some of them returns the "-" sign instead of actual values

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions