diff options
author | Alvaro Lopez Garcia <aloga@ifca.unican.es> | 2013-04-18 15:42:14 +0200 |
---|---|---|
committer | Alvaro Lopez Garcia <aloga@ifca.unican.es> | 2013-04-18 17:47:28 +0200 |
commit | 4cee584ae6571fba183b4512adf76b19e1ce95c4 (patch) | |
tree | 684149df4d979f1113cd1b96be723eb4fba2949b /nova/exception.py | |
parent | d8e81f6ff6b3160ba6aea5dd814ba734f189f99f (diff) | |
download | nova-4cee584ae6571fba183b4512adf76b19e1ce95c4.tar.gz nova-4cee584ae6571fba183b4512adf76b19e1ce95c4.tar.xz nova-4cee584ae6571fba183b4512adf76b19e1ce95c4.zip |
Remove unused exception and variable from scheduler.
There are no cost functions, so there is no cache and no Exception to be
raised.
Change-Id: I4a67bd45e3f0c91e5507ed3794dc20b13292596b
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/nova/exception.py b/nova/exception.py index de922f50e..36f388f1f 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -869,15 +869,6 @@ class SchedulerHostFilterNotFound(NotFound): message = _("Scheduler Host Filter %(filter_name)s could not be found.") -class SchedulerCostFunctionNotFound(NotFound): - message = _("Scheduler cost function %(cost_fn_str)s could" - " not be found.") - - -class SchedulerWeightFlagNotFound(NotFound): - message = _("Scheduler weight flag not found: %(flag_name)s") - - class InstanceMetadataNotFound(NotFound): message = _("Instance %(instance_uuid)s has no metadata with " "key %(metadata_key)s.") |