aboutsummaryrefslogtreecommitdiffstats
path: root/src/dashboard/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/dashboard/tasks.py')
-rw-r--r--src/dashboard/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dashboard/tasks.py b/src/dashboard/tasks.py
index 8554f6c..fec8384 100644
--- a/src/dashboard/tasks.py
+++ b/src/dashboard/tasks.py
@@ -84,7 +84,7 @@ def free_hosts():
resource__isnull=False
)
for booking in bookings:
- ResourceManager.getInstance().deleteResourceBundle(booking.resource)
+ ResourceManager.getInstance().releaseResourceBundle(booking.resource)
@shared_task