Skip to content

Commit ed07b05

Browse files
committed
Merge pull request #614 from ibuildthecloud/extra-host-list
Allow extra_hosts to be a list too
2 parents 54e4866 + fb2b707 commit ed07b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def create_host_config(
450450
for k, v in sorted(six.iteritems(extra_hosts))
451451
]
452452

453-
host_config['ExtraHosts'] = extra_hosts
453+
host_config['ExtraHosts'] = extra_hosts
454454

455455
if links is not None:
456456
if isinstance(links, dict):

0 commit comments

Comments
 (0)