Cesium + incorrect node/stats json

I’ve found a small bug in the json returned by cesium plus nodes in /node/stats :

],"cluster"{

instead of

],"cluster":{

Also the link in the README to https://github.com/duniter/cesium-plus-pod/blob/master/src/site/markdown/REST_API.html gives a 404.

I post here as the repo has not an issue tracker.

BTW I’m started to use the docs.count in G1nkgo to try not to use outdated cesium+ nodes. I don’t know if this is a good way to do it.

image

cc @kimamila

2 Likes

I confirm this bug.

1 Like

Added issue here: Wrong json in node stats (#46) · Issues · clients / Cesium-grp / cesium-plus-pod · GitLab

1 Like

ok, i will fix this.

As a workaround, you can add ?cluster=false in your request to skip the cluster stats
E.g. http://g1.data.e-is.pro/node/stats?cluster=false

Or add ?pretty => seems to fix the JSON

2 Likes