mirror of
https://github.com/moby/moby.git
synced 2026-07-13 02:52:20 +00:00
Each call to datastore.DefaultScopes() would modify and return the same map. Consequently, some of the config for every NetworkController in the process would be mutated each time one is constructed or reconfigured. This behaviour is unexpected, unintended, and undesirable. Stop accidentally sharing configuration by changing DefaultScopes() to return a distinct map on each call. Signed-off-by: Cory Snider <csnider@mirantis.com>