Browse Source

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

This was fixed in #449
Brandon Philips 12 years ago
parent
commit
c7e642baa2
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Documentation/api.md

+ 4 - 4
Documentation/api.md

@@ -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,