Show warning if all containers are depleted.

This commit is contained in:
Jan Renz
2015-04-15 17:17:39 +02:00
parent 2146089a2b
commit 940eee5856
5 changed files with 16 additions and 2 deletions

View File

@ -96,7 +96,7 @@ class DockerClient
before_execution_block.try(:call)
send_command(command, @container, &output_consuming_block)
else
raise('Alle Slots belegt. Versuche es nachher nochmal.')
{status: :container_depleted}
end
rescue Excon::Errors::SocketError => error
# socket errors seems to be normal when using exec