mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #24385 from jeanpralo/Fix-binds-dockerio.start
Fix salt.modules.dockerio.start method
This commit is contained in:
commit
a904055d28
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user