Merge pull request #614 from ibuildthecloud/extra-host-list

Allow extra_hosts to be a list too
This commit is contained in:
Joffrey F 2015-06-18 12:30:21 -07:00
commit ed07b053e9
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ def create_host_config(
for k, v in sorted(six.iteritems(extra_hosts))
]
host_config['ExtraHosts'] = extra_hosts
host_config['ExtraHosts'] = extra_hosts
if links is not None:
if isinstance(links, dict):