Commit ec503ffa authored by Valentin Reis's avatar Valentin Reis

[fix] Fixes the process kill call.

Fixing a bug introduced by the 'progress-report' branch in a recent
previous commit. The process object is the result of a tornado spawn, so
the call has to be slightly different than what was there.
parent 25443c64
...@@ -170,7 +170,7 @@ class ContainerManager(object): ...@@ -170,7 +170,7 @@ class ContainerManager(object):
logger.debug("killing %r:", c) logger.debug("killing %r:", c)
for p in c.processes.values(): for p in c.processes.values():
try: try:
p.terminate() p.proc.terminate()
except OSError: except OSError:
logging.error("OS error: could not terminate process.") logging.error("OS error: could not terminate process.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment