fix(Documentation/api): fixup the names in stats

This was fixed in #449
This commit is contained in:
Brandon Philips 2014-01-08 10:36:44 -08:00
parent 9a8bd96ad3
commit c7e642baa2

View File

@ -731,10 +731,10 @@ curl -L 127.0.0.1:4001/v2/stats/self
```json ```json
{ {
"leaderInfo": { "leaderInfo": {
"leader": "etcd-node2", "leader": "machine1",
"uptime": "1m18.544996775s" "uptime": "1m18.544996775s"
}, },
"name": "", "name": "machine0",
"recvAppendRequestCnt": 5871307, "recvAppendRequestCnt": 5871307,
"recvBandwidthRate": 630.3121596542599, "recvBandwidthRate": 630.3121596542599,
"recvPkgRate": 19.272654323628185, "recvPkgRate": 19.272654323628185,
@ -753,10 +753,10 @@ curl -L 127.0.0.1:4001/v2/stats/self
``` ```
{ {
"leaderInfo": { "leaderInfo": {
"leader": "", "leader": "machine0",
"uptime": "24.648619798s" "uptime": "24.648619798s"
}, },
"name": "", "name": "machine0",
"recvAppendRequestCnt": 5901116, "recvAppendRequestCnt": 5901116,
"sendAppendRequestCnt": 3212344, "sendAppendRequestCnt": 3212344,
"sendBandwidthRate": 1254.3151237301615, "sendBandwidthRate": 1254.3151237301615,