Fix typo in nova/scheduler/filters/utils.py

Fix comment typo in 'validate_num_values' method.

Change-Id: I3a3ddae7023295dea84f0bddb3bf58f7f5b15f27
Closes-Bug: #1429791
This commit is contained in:
Takashi NATSUME
2015-03-09 19:53:58 +09:00
parent 4103a86f30
commit 0b39c785f3

View File

@@ -48,7 +48,7 @@ def aggregate_metadata_get_by_host(host_state, key=None):
def validate_num_values(vals, default=None, cast_to=int, based_on=min): def validate_num_values(vals, default=None, cast_to=int, based_on=min):
"""Returns a corretly casted value based on a set of values. """Returns a correctly casted value based on a set of values.
This method is useful to work with per-aggregate filters, It takes This method is useful to work with per-aggregate filters, It takes
a set of values then return the 'based_on'{min/max} converted to a set of values then return the 'based_on'{min/max} converted to