fix bug in docker.loaded

This commit is contained in:
James J Porter 2015-06-19 17:39:57 -05:00 committed by rallytime
parent c32aae96aa
commit 071049ae7a

View file

@ -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))):