diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2020-08-07 14:49:11 -0400 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2020-08-07 15:11:53 -0400 |
commit | 0c71a0ce238a1ca816cec35b62e228a97102aa6a (patch) | |
tree | dec4a4c7b921548c8595744eeb66793c18cd1eeb /src/dashboard/tasks.py | |
parent | 7a202d78ab96e86acf9727edb908c0e9e24ea551 (diff) |
Fix vlan deallocation and ownership
Change-Id: I74bd2d062611ba1ca997cfb50a91d2396e70526b
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/dashboard/tasks.py')
-rw-r--r-- | src/dashboard/tasks.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dashboard/tasks.py b/src/dashboard/tasks.py index b980799..50e64c8 100644 --- a/src/dashboard/tasks.py +++ b/src/dashboard/tasks.py @@ -14,7 +14,6 @@ from django.utils import timezone from booking.models import Booking from notifier.manager import NotificationHandler from api.models import Job, JobStatus, SoftwareRelation, HostHardwareRelation, HostNetworkRelation, AccessRelation -from resource_inventory.resource_manager import ResourceManager from resource_inventory.models import ConfigState @@ -75,4 +74,4 @@ def free_hosts(): resource__isnull=False ) for booking in bookings: - ResourceManager.getInstance().deleteResourceBundle(booking.resource) + booking.resource.release() |