moby/libnetwork/diagnostic
Cory Snider 1931a1bdc7 libnetwork/diagnostic: lock mutex in help handler
Acquire the mutex in the help handler to synchronize access to the
handlers map. While a trivial issue---a panic in the request handler if
the node joins a swarm at just the right time, which would only result
in an HTTP 500 response---it is also a trivial race condition to fix.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-12-06 11:20:47 -05:00
..
server.go libnetwork/diagnostic: lock mutex in help handler 2023-12-06 11:20:47 -05:00
types.go Enhance testing infra 2018-07-02 16:47:34 -07:00