mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Add comments about potential race conditions
This commit is contained in:
parent
9183302b1f
commit
7740167654
|
@ -52,6 +52,7 @@ func (h *StatusHandler) ServeRequestsForever() {
|
||||||
Config: h.Config.String(),
|
Config: h.Config.String(),
|
||||||
Flags: flags,
|
Flags: flags,
|
||||||
Rules: "TODO: list rules here",
|
Rules: "TODO: list rules here",
|
||||||
|
// BUG: race condition, concurrent map access
|
||||||
TargetPools: h.TargetManager.Pools(),
|
TargetPools: h.TargetManager.Pools(),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue