From d4d63f63f1ab4cd636499adee319f2a0b8513020 Mon Sep 17 00:00:00 2001 From: maxbr Date: Fri, 5 May 2017 10:02:56 +0200 Subject: Pharos Dashboard: Add manual resource management Dev Pods are now managed by checking the "Dev pod" box in the Admin Panel. This commit also fixes a dead image URL and the oauth process for the dashboard URL. Change-Id: Ic94160eb3a4504a369606261440df0e5354ac027 Signed-off-by: maxbr --- tools/pharos-dashboard/src/notification/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/pharos-dashboard/src/notification') diff --git a/tools/pharos-dashboard/src/notification/tasks.py b/tools/pharos-dashboard/src/notification/tasks.py index e2b34ca9..7f737625 100644 --- a/tools/pharos-dashboard/src/notification/tasks.py +++ b/tools/pharos-dashboard/src/notification/tasks.py @@ -27,7 +27,7 @@ from dashboard_notification.notification import Notification, Message @shared_task def send_booking_notifications(): - with Notification(dashboard_url=settings.RABBITMQ_URL) as messaging: + with Notification(dashboard_url=settings.RABBITMQ_URL, user=settings.RABBITMQ_USER, password=settings.RABBITMQ_PASSWORD) as messaging: now = timezone.now() notifications = BookingNotification.objects.filter(submitted=False, submit_time__gt=now - timedelta(minutes=1), -- cgit 1.2.3-korg