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(),
|
||||
Flags: flags,
|
||||
Rules: "TODO: list rules here",
|
||||
// BUG: race condition, concurrent map access
|
||||
TargetPools: h.TargetManager.Pools(),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue