mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
running-to-lifetime comparison should be 'greater than or equal to'
This commit is contained in:
parent
6cd56f40ee
commit
818b92100b
1 changed files with 1 additions and 1 deletions
|
|
@ -399,7 +399,7 @@ module Vmpooler
|
||||||
|
|
||||||
if
|
if
|
||||||
(lifetime.to_i > 0) &&
|
(lifetime.to_i > 0) &&
|
||||||
(running.to_i > lifetime.to_i)
|
(running.to_i >= lifetime.to_i)
|
||||||
|
|
||||||
$redis.smove('vmpooler__running__' + pool['name'], 'vmpooler__completed__' + pool['name'], vm)
|
$redis.smove('vmpooler__running__' + pool['name'], 'vmpooler__completed__' + pool['name'], vm)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue