From 6b44e737ab73c4e3143cf2c3944a05fc1da1932c Mon Sep 17 00:00:00 2001 From: Hauke Klement Date: Fri, 20 Feb 2015 09:35:56 +0100 Subject: [PATCH] fix --- lib/docker_client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docker_client.rb b/lib/docker_client.rb index 777366a2..8049767c 100644 --- a/lib/docker_client.rb +++ b/lib/docker_client.rb @@ -132,7 +132,7 @@ class DockerClient end def send_command(command, container, &block) - Timeout.timeout(@execution_environment.permitted_execution_time) do + Timeout.timeout(@execution_environment.permitted_execution_time.to_i) do stderr = [] stdout = [] container.attach(stdin: StringIO.new(command)) do |stream, chunk|