mirror of
https://github.com/moby/moby.git
synced 2026-07-13 19:12:11 +00:00
For swarm networks, Controller.NewNetwork is called to validate network config ... nothing gets created, but ManagerRedirectError is returned if the config is ok - then swarm does its own thing. So, for a --config-from network, merge config before checking whether it'll have IPv4 enabled. Signed-off-by: Rob Murray <rob.murray@docker.com>