From 0ef869d3243dd739ee902827d97ef8f3bd4ed3d9 Mon Sep 17 00:00:00 2001 From: Sanja Nosan Date: Wed, 20 Aug 2014 11:44:08 +0200 Subject: [PATCH] Fix typos in transformer docstrings Aggregator and accumulator transformers have some typos in their docstrings, this patch fixes this. Change-Id: I0b9773fcd94d3b3fb42ca9182b4de186376a2d03 --- ceilometer/transformer/accumulator.py | 4 ++-- ceilometer/transformer/conversions.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ceilometer/transformer/accumulator.py b/ceilometer/transformer/accumulator.py index 667e45f87..5b8d90487 100644 --- a/ceilometer/transformer/accumulator.py +++ b/ceilometer/transformer/accumulator.py @@ -19,9 +19,9 @@ from ceilometer import transformer class TransformerAccumulator(transformer.TransformerBase): - """Transformer that accumulates sample until a threshold. + """Transformer that accumulates samples until a threshold. - And then flush them out in the wild. + And then flushes them out into the wild. """ def __init__(self, size=1, **kwargs): diff --git a/ceilometer/transformer/conversions.py b/ceilometer/transformer/conversions.py index 956a5586f..0d4c185df 100644 --- a/ceilometer/transformer/conversions.py +++ b/ceilometer/transformer/conversions.py @@ -143,10 +143,10 @@ class RateOfChangeTransformer(ScalingTransformer): class AggregatorTransformer(ScalingTransformer): - """Transformer that aggregate sample. + """Transformer that aggregates samples. - Aggregation goes until a threshold or/and a retention_time, and then flush - them out in the wild. + Aggregation goes until a threshold or/and a retention_time, and then + flushes them out into the wild. Example: To aggregate sample by resource_metadata and keep the