mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
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:
parent
7908819b70
commit
b3f1a2f1d0
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user