This commit is contained in:
Jan Renz
2015-04-14 20:17:36 +02:00
parent 7f7e538af2
commit 366f2b8ef0

View File

@ -88,7 +88,7 @@ class DockerClient
end end
def execute_command(command, before_execution_block, output_consuming_block) def execute_command(command, before_execution_block, output_consuming_block)
tries ||= 0 #tries ||= 0
@container = DockerContainerPool.get_container(@execution_environment) @container = DockerContainerPool.get_container(@execution_environment)
if @container if @container
before_execution_block.try(:call) before_execution_block.try(:call)