Code Review
/
laas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4f12ae2
)
Fix errant change in admin_utils.booking_for_host
65/72365/1
author
Sawyer Bergeron
<sbergeron@iol.unh.edu>
Mon, 12 Apr 2021 14:39:00 +0000
(10:39 -0400)
committer
Sawyer Bergeron
<sbergeron@iol.unh.edu>
Mon, 12 Apr 2021 14:39:00 +0000
(10:39 -0400)
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Change-Id: I5dcd6b773638961a315baccd335745824a25b9c9
src/dashboard/admin_utils.py
patch
|
blob
|
history
diff --git
a/src/dashboard/admin_utils.py
b/src/dashboard/admin_utils.py
index
186a64f
..
b105e96
100644
(file)
--- a/
src/dashboard/admin_utils.py
+++ b/
src/dashboard/admin_utils.py
@@
-281,7
+281,7
@@
def booking_for_host(host_labid: str, lab_username="unh_iol"):
@lab_username: param of the form `unh_iol` or similar
"""
- server = Server.objects.get(lab__lab_user__username=lab_username, lab
_username
=host_labid)
+ server = Server.objects.get(lab__lab_user__username=lab_username, lab
id
=host_labid)
booking = server.bundle.booking_set.first()
print_div()
print(booking)