You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Vinod Kone <vi...@gmail.com> on 2014/08/13 03:44:48 UTC

Fixing a buggy key/value pair in slave's /stats.json

Hi,

As BenM pointed out in https://issues.apache.org/jira/browse/MESOS-1695 a
tiny bug was introduced ~year ago in slave's /stats.json endpoint.
Specifically, the "registered" key in the JSON has a value "1"/"0" instead
of 1/0 (i.e., string instead of number).

I plan to fix it soon (likely 0.21.0), but wanted to know if anyone in the
community is already using/depending on this key/value from the endpoint.
If you are, please let me know and we can figure out a deprecation plan.

Sorry for the inconvenience

Vinod