Code Review
/
pharos-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
89cb0d4
)
Respects lab_token from lab
60/67260/1
author
Parker Berberian
<pberberian@iol.unh.edu>
Thu, 14 Mar 2019 19:04:32 +0000
(15:04 -0400)
committer
Parker Berberian
<pberberian@iol.unh.edu>
Thu, 14 Mar 2019 19:04:32 +0000
(15:04 -0400)
Change-Id: I322f876a21d25dc185a6f4930d2f2a5f463e2d24
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
dashboard/src/api/views.py
patch
|
blob
|
history
diff --git
a/dashboard/src/api/views.py
b/dashboard/src/api/views.py
index
a56dcfe
..
2ae1ac5
100644
(file)
--- 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 = {}