Merge branch 'webpython-hybrid' of https://github.com/openHPI/codeocean into webpython-hybrid

This commit is contained in:
Ralf Teusner
2015-10-19 15:48:48 +02:00
2 changed files with 22 additions and 13 deletions

View File

@@ -113,7 +113,7 @@ class SubmissionsController < ApplicationController
parsed = JSON.parse(data)
if parsed['cmd'] == 'exit'
Rails.logger.info("Client killed container.")
@docker_client.kill_container(result[:container])
@docker_client.exit_container(result[:container])
else
socket.send data
end