Remove VM from completed only after destroy

This commit updates destroy_vm to remove the redis member from the completed queue only after a destroy has been completed. Without this change a VM that is being destroyed will be logged as discovered when inventory is checked since it has already been removed from the completed queue.
This commit is contained in:
kirby@puppetlabs.com 2018-07-23 16:50:03 -07:00
parent 10efddd43e
commit 90edc6f979
2 changed files with 3 additions and 1 deletions

View file

@ -16,6 +16,7 @@ git logs & PR history.
### Fixed
- (POOLER-128) VM specific mutex objects are not dereferenced when a VM is destroyed
- A VM that is being destroyed is reported as discovered
# [0.1.0](https://github.com/puppetlabs/vmpooler/compare/4c858d012a262093383e57ea6db790521886d8d4...master)