Undo redis new_redis rename. Update vmpooler version in dockerfile.

This commit is contained in:
kirby@puppetlabs.com 2020-05-07 09:06:47 -07:00
parent ef40f2610b
commit 86f6848ef0
3 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,7 @@ end
if torun.include? 'api'
api = Thread.new do
thr = Vmpooler::API.new
redis = Vmpooler.redis_connection(redis_host, redis_port, redis_password)
redis = Vmpooler.new_redis(redis_host, redis_port, redis_password)
thr.helpers.configure(config, redis, metrics)
thr.helpers.execute!
end