Kaydet (Commit) cf5755da authored tarafından Joffrey F's avatar Joffrey F

Update outdated error message

Signed-off-by: 's avatarJoffrey F <joffrey@docker.com>
üst 818291ec
...@@ -889,7 +889,7 @@ def create_container_config( ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment