Improve cleanup of hosts after booking 39/66139/1
authorParker Berberian <pberberian@iol.unh.edu>
Wed, 2 Jan 2019 18:59:39 +0000 (13:59 -0500)
committerParker Berberian <pberberian@iol.unh.edu>
Wed, 2 Jan 2019 18:59:39 +0000 (13:59 -0500)
commite1a9df21da17d34f2f9cff67e1ea965e57afd2c2
tree26976e34cdb3e3fdc72038b8517232e37c93dfd3
parentb52a1950816ebafa3c461221bf824aff950b9e1f
Improve cleanup of hosts after booking

Previously, the database query was not reliably detecting
hosts which were to be released and made available
for new bookings. This should now take all bookings that
are over and have been cleaned by the lab, and make the
hosts available for reuse.

Change-Id: I040c2e02ac48d7bfde3fc1cf6bac4e59a48c8933
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
dashboard/src/dashboard/tasks.py