summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2011-06-23 22:55:45 -0700
committerChris Behrens <cbehrens@codestud.com>2011-06-23 22:55:45 -0700
commit9ededda0bdc990a4e6823f5076aa8b9e2de43c7e (patch)
tree7c67a54162b43d78b88611224f1410424cfe7a96
parent72d478b3ac12033928a53d51aa9c0ffbdfc9907f (diff)
typo in least cost scheduler
-rw-r--r--nova/scheduler/least_cost.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/scheduler/least_cost.py b/nova/scheduler/least_cost.py
index 72db2fd1b..9376631ef 100644
--- a/nova/scheduler/least_cost.py
+++ b/nova/scheduler/least_cost.py
@@ -63,7 +63,7 @@ def compute_fill_first_cost_fn(host):
class LeastCostScheduler(zone_aware_scheduler.ZoneAwareScheduler):
def __init__(self, *args, **kwargs):
self.cost_fns_cache = {}
- super(LeastCoastScheduler, self).__init__(*args, **kwargs)
+ super(LeastCostScheduler, self).__init__(*args, **kwargs)
def get_cost_fns(self, topic):
"""Returns a list of tuples containing weights and cost functions to