remove unnecessary call of _get_defaults_from_image

defaults_from_image is unused at this point.
it's called later when it is needed
This commit is contained in:
ttb 2016-10-24 21:35:28 +02:00
parent 7908819b70
commit b3f1a2f1d0

View File

@ -1647,7 +1647,6 @@ def running(name,
_validate_input(create_kwargs,
validate_ip_addrs=validate_ip_addrs)
defaults_from_image = _get_defaults_from_image(image_id)
if create_kwargs.get('binds') is not None:
# Be smart and try to provide `volumes` argument derived from the
# "binds" configuration.