Add ipam default driver, fixes #5248

Signed-off-by: Drew Romanyk <drewiswaycool@gmail.com>
This commit is contained in:
Drew Romanyk 2017-11-30 10:59:25 -06:00
parent d48002a09d
commit 60f818e548
1 changed files with 1 additions and 1 deletions

View File

@ -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'),