Merge pull request #915 from docker/914_hostconfig_start

Update outdated error message
This commit is contained in:
Joffrey F 2016-02-01 10:35:33 -08:00
commit a6a562a681
1 changed files with 1 additions and 1 deletions

View File

@ -889,7 +889,7 @@ def create_container_config(
if compare_version('1.10', version) >= 0:
message = ('{0!r} parameter has no effect on create_container().'
' It has been moved to start()')
' It has been moved to host_config')
if dns is not None:
raise errors.InvalidVersion(message.format('dns'))
if volumes_from is not None: