diff --git a/etc/nova/nova.conf.sample b/etc/nova/nova.conf.sample index ab8438ea426a..d6efe942e412 100644 --- a/etc/nova/nova.conf.sample +++ b/etc/nova/nova.conf.sample @@ -3030,7 +3030,7 @@ # How the metrics are going to be weighed. This should be in # the form of "=, =, ...", where -# is one of the metric to be weighed, and is +# is one of the metrics to be weighed, and is # the corresponding ratio. So for "name1=1.0, name2=-1.0" The # final weight would be name1.value * 1.0 + name2.value * # -1.0. (list value) diff --git a/nova/scheduler/weights/metrics.py b/nova/scheduler/weights/metrics.py index 7dd2b78f32ea..05cc864967ec 100644 --- a/nova/scheduler/weights/metrics.py +++ b/nova/scheduler/weights/metrics.py @@ -41,7 +41,7 @@ metrics_weight_opts = [ help='How the metrics are going to be weighed. This ' 'should be in the form of "=, ' '=, ...", where is one ' - 'of the metric to be weighed, and is ' + 'of the metrics to be weighed, and is ' 'the corresponding ratio. So for "name1=1.0, ' 'name2=-1.0" The final weight would be ' 'name1.value * 1.0 + name2.value * -1.0.'),