moby/cmd
Cory Snider 982e4fb448 api/server: get features from a callback fn
Passing around a bare pointer to the map of configured features in order
to propagate to consumers changes to the configuration across reloads is
dangerous. Map operations are not atomic, so concurrently reading from
the map while it is being updated is a data race as there is no
synchronization. Use a getter function to retrieve the current features
map so the features can be retrieved race-free.

Remove the unused features argument from the build router.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-06-01 14:43:27 -04:00
..
docker-proxy cmd/docker-proxy: add "-v / --version" flag 2022-12-27 22:26:57 +01:00
dockerd api/server: get features from a callback fn 2023-06-01 14:43:27 -04:00