This commit is contained in:
Sebastian Serth
2020-03-21 23:55:35 +01:00
parent 54e1aa4f7e
commit 5be843ca00

View File

@ -117,7 +117,7 @@ class DockerContainerPool
@semaphore.release
new_container
else
Rails.logger.error('Broken container removed for ' + execution_environment.to_s + ' but not creating a new one. Currently, ' + abs(missing_counter_count) + ' more containers than the configured pool size are available.')
Rails.logger.error('Broken container removed for ' + execution_environment.to_s + ' but not creating a new one. Currently, ' + missing_counter_count.abs + ' more containers than the configured pool size are available.')
@semaphore.release
get_container(execution_environment)
end