Commit 61fa983
committed
fix(contrib): fix debug-etcd
Hitting the /v2/stats/leader endpoint would only work on the etcd
leader. Instead, we hit /v2/stats/self which will always work.This
doesn't show stats from the other members, but a user could start
the service on all hosts.1 parent bf94812 commit 61fa983
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments