mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Previously, in `find_vm` and `find_pool` if in an expected object was found the entire pool manager, and probably API process, will terminate due to the use of `abort`. This commit changes the use of abort to raise so that the error can be trapped and handled instead of the entire process being shutdown. This is also required so that the methods can be tested, otherwise rspec is shutdown prematurely. |
||
|---|---|---|
| .. | ||
| vmpooler | ||
| vmpooler.rb | ||