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

gstatus output values as strings #60

Open
brezzii opened this issue Jun 27, 2021 · 0 comments
Open

gstatus output values as strings #60

brezzii opened this issue Jun 27, 2021 · 0 comments

Comments

@brezzii
Copy link

brezzii commented Jun 27, 2021

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

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

No branches or pull requests

1 participant