mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #24898 from rallytime/bp-24845
Back-port #24845 to 2015.5
This commit is contained in:
commit
d4dd8d288d
1 changed files with 1 additions and 1 deletions
|
@ -1852,7 +1852,7 @@ def load(imagepath):
|
|||
if os.path.isfile(imagepath):
|
||||
try:
|
||||
dockercmd = ['docker', 'load', '-i', imagepath]
|
||||
ret = __salt__['cmd.run'](dockercmd)
|
||||
ret = __salt__['cmd.run'](dockercmd, python_shell=False)
|
||||
if ((isinstance(ret, dict) and
|
||||
('retcode' in ret) and
|
||||
(ret['retcode'] != 0))):
|
||||
|
|
Loading…
Add table
Reference in a new issue