mirror of https://github.com/docker/compose.git
Merge pull request #5419 from nginth/5248-add-ipam-default-driver
Add ipam default driver, fixes #5248
This commit is contained in:
commit
8bc6334ba5
|
@ -116,7 +116,7 @@ def create_ipam_config_from_dict(ipam_dict):
|
|||
return None
|
||||
|
||||
return IPAMConfig(
|
||||
driver=ipam_dict.get('driver'),
|
||||
driver=ipam_dict.get('driver') or 'default',
|
||||
pool_configs=[
|
||||
IPAMPool(
|
||||
subnet=config.get('subnet'),
|
||||
|
|
Loading…
Reference in New Issue