aboutsummaryrefslogtreecommitdiffstats
path: root/src/booking/quick_deployer.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-03-15 10:59:36 -0400
committerParker Berberian <pberberian@iol.unh.edu>2019-03-15 10:59:36 -0400
commit9cb0a4691e9e4bd30a0f68861942ac987b767bf1 (patch)
treeaf8a29889fd75fa0fb574bb8d5e4458ce494ecdd /src/booking/quick_deployer.py
parent6c2668096099f184a6d805de433e0dec3d8b86d0 (diff)
Minor Cleanup enhancements
Change-Id: I032c8771b69e0f6d320759ee95c4987e41df57ba Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/booking/quick_deployer.py')
-rw-r--r--src/booking/quick_deployer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/booking/quick_deployer.py b/src/booking/quick_deployer.py
index 8a81d18..f076a2e 100644
--- a/src/booking/quick_deployer.py
+++ b/src/booking/quick_deployer.py
@@ -117,7 +117,7 @@ def check_available_matching_host(lab, hostprofile):
available_host_types = ResourceManager.getInstance().getAvailableHostTypes(lab)
if hostprofile not in available_host_types:
# TODO: handle deleting generic resource in this instance along with grb
- raise HostNotAvailable("Could not book selected host due to changed availability. Try again later")
+ raise HostNotAvailable('Requested host type is not available. Please try again later. Host availability can be viewed in the "Hosts" tab to the left.')
hostset = Host.objects.filter(lab=lab, profile=hostprofile).filter(booked=False).filter(working=True)
if not hostset.exists():