diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-03-14 15:04:32 -0400 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2019-03-14 15:04:32 -0400 |
commit | 0444daf1d512c08e68dd149d0018560ba4a136f0 (patch) | |
tree | b4be0aa2024ae6e235608e4643ee15cb5d5a46b4 /dashboard | |
parent | 89cb0d418a58a7db4ce902471f2bd01e11670277 (diff) |
Respects lab_token from lab
Change-Id: I322f876a21d25dc185a6f4930d2f2a5f463e2d24
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard')
-rw-r--r-- | dashboard/src/api/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dashboard/src/api/views.py b/dashboard/src/api/views.py index a56dcfe..2ae1ac5 100644 --- a/dashboard/src/api/views.py +++ b/dashboard/src/api/views.py @@ -101,6 +101,8 @@ def specific_task(request, lab_name="", job_id="", task_id=""): task.status = request.POST.get('status') if 'message' in request.POST: task.message = request.POST.get('message') + if 'lab_token' in request.POST: + task.lab_token = request.POST.get('lab_token') task.save() NotificationHandler.task_updated(task) d = {} |