mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
(maint) drop unneeded clear_pool helper
Given the way we're flushing redis (which seems super performant), we don't need to clear pools any more at the beginning of tests.
This commit is contained in:
parent
ea9fd004d6
commit
2fcd639882
2 changed files with 0 additions and 14 deletions
|
|
@ -39,9 +39,3 @@ end
|
|||
def fetch_vm(vm)
|
||||
redis.hgetall("vmpooler__vm__#{vm}")
|
||||
end
|
||||
|
||||
def clear_pool(pool)
|
||||
['ready'].each do |state| # TODO add more states if desired
|
||||
redis.del("vmpooler__#{state}__#{pool}")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue