Embed mutex on web status handler

pull/221/head
Bernerd Schaefer 2013-05-06 10:39:13 +02:00
parent 7740167654
commit cdde766f39
1 changed files with 4 additions and 4 deletions

View File

@ -48,10 +48,10 @@ func (h *StatusHandler) ServeRequestsForever() {
})
h.PrometheusStatus = &PrometheusStatus{
BuildInfo: h.BuildInfo,
Config: h.Config.String(),
Flags: flags,
Rules: "TODO: list rules here",
BuildInfo: h.BuildInfo,
Config: h.Config.String(),
Flags: flags,
Rules: "TODO: list rules here",
// BUG: race condition, concurrent map access
TargetPools: h.TargetManager.Pools(),
}