Merge pull request #22955 from terminalmage/dockerio-run-fix

Fix regression introduced yesterday in dockerio module
This commit is contained in:
Justin Findlay 2015-04-22 12:56:39 -06:00
commit 89fa18500c

View File

@ -1741,7 +1741,7 @@ def _run_wrapper(status, container, func, cmd, *args, **kwargs):
return status
full_cmd = (
'nsenter --target {pid} --mount --uts --ipc --net --pid'
' {cmd}'.format(pid=container_pid, cmd=cmd)
' -- {cmd}'.format(pid=container_pid, cmd=cmd)
)
else:
raise CommandExecutionError(