diff options
author | Adam Hassick <ahassick@iol.unh.edu> | 2021-06-29 16:49:27 -0400 |
---|---|---|
committer | Adam Hassick <ahassick@iol.unh.edu> | 2021-07-23 16:22:54 +0000 |
commit | 6ffb1fdf6ce7825770148bada5a4c54899e4ed36 (patch) | |
tree | da5d8390a4d46a898840083a761809af47bd7f52 /src/booking/views.py | |
parent | 49e2b407003b69551ddafa851639e83ec42a5b09 (diff) |
Cobbler model changes, new endpoints
Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
Change-Id: If0a94730e92747127cef121ec4930a4c8bae6c92
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
Diffstat (limited to 'src/booking/views.py')
-rw-r--r-- | src/booking/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/booking/views.py b/src/booking/views.py index 2b910e7..ea038dd 100644 --- a/src/booking/views.py +++ b/src/booking/views.py @@ -138,7 +138,7 @@ def build_image_mapping(lab, user): for profile in ResourceProfile.objects.filter(labs=lab): images = Image.objects.filter( from_lab=lab, - host_type=profile + architecture=profile.architecture ).filter( Q(public=True) | Q(owner=user) ) |