node/pkg/readiness: be even more explicit about readyz
RTFM! Change-Id: I6f4eefb8f6d22fcd620b24658b3c2cfd0b48c949
This commit is contained in:
parent
61dd1c1052
commit
e46d70bbe2
|
@ -48,6 +48,10 @@ func Handler(w http.ResponseWriter, r *http.Request) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
_, err = resp.Write([]byte("[these values update AT STARTUP ONLY - see https://github.com/certusone/wormhole/blob/dev.v2/docs/operations.md#readyz]\n\n"))
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
mu.Lock()
|
mu.Lock()
|
||||||
for k, v := range registry {
|
for k, v := range registry {
|
||||||
|
|
Loading…
Reference in New Issue