From 77401676540b6858a07e3684f5902599420b7610 Mon Sep 17 00:00:00 2001 From: Bernerd Schaefer Date: Mon, 6 May 2013 09:59:47 +0200 Subject: [PATCH] Add comments about potential race conditions --- web/status.go | 1 + 1 file changed, 1 insertion(+) diff --git a/web/status.go b/web/status.go index 7b5a5f9f4..5e70227d0 100644 --- a/web/status.go +++ b/web/status.go @@ -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(), }