Merge pull request #24385 from jeanpralo/Fix-binds-dockerio.start

Fix salt.modules.dockerio.start method
This commit is contained in:
Justin Findlay 2015-06-04 09:00:22 -06:00
commit a904055d28

View File

@ -873,9 +873,7 @@ def start(container,
salt '*' docker.start <container id>
'''
if not binds:
binds = {}
if binds:
if not isinstance(binds, dict):
raise SaltInvocationError('binds must be formatted as a dictionary')