mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 10:28:41 -05:00
Fix accepting request_id
This commit is contained in:
parent
2b96d7e476
commit
62aaa37f78
3 changed files with 27 additions and 17 deletions
|
|
@ -1462,8 +1462,6 @@ module Vmpooler
|
|||
in_progress_requests = redis.zrange('vmpooler__provisioning__processing', 0, -1)
|
||||
in_progress_requests&.each do |request_id|
|
||||
next unless vms_ready?(request_id, redis)
|
||||
$logger.log('s', 'vms are ready')
|
||||
|
||||
redis.multi
|
||||
redis.hset("vmpooler__odrequest__#{request_id}", 'status', 'ready')
|
||||
redis.zrem('vmpooler__provisioning__processing', request_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue