mirror of https://github.com/docker/docker-py.git
Merge pull request #915 from docker/914_hostconfig_start
Update outdated error message
This commit is contained in:
commit
a6a562a681
|
|
@ -889,7 +889,7 @@ def create_container_config(
|
||||||
|
|
||||||
if compare_version('1.10', version) >= 0:
|
if compare_version('1.10', version) >= 0:
|
||||||
message = ('{0!r} parameter has no effect on create_container().'
|
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:
|
if dns is not None:
|
||||||
raise errors.InvalidVersion(message.format('dns'))
|
raise errors.InvalidVersion(message.format('dns'))
|
||||||
if volumes_from is not None:
|
if volumes_from is not None:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue