diff --git a/ceilometer/hardware/notifications/ipmi.py b/ceilometer/hardware/notifications/ipmi.py index 35fc7520d..87adaa81f 100644 --- a/ceilometer/hardware/notifications/ipmi.py +++ b/ceilometer/hardware/notifications/ipmi.py @@ -64,7 +64,7 @@ class SensorNotification(plugin.NotificationBase): @staticmethod def get_targets(conf): - """oslo.messaging.TargetS for this this plugin.""" + """oslo.messaging.TargetS for this plugin.""" return [messaging.Target(topic=topic, exchange=conf.ironic_exchange) for topic in conf.notification_topics] diff --git a/ceilometer/storage/impl_sqlalchemy.py b/ceilometer/storage/impl_sqlalchemy.py index c951b9a48..43800274b 100644 --- a/ceilometer/storage/impl_sqlalchemy.py +++ b/ceilometer/storage/impl_sqlalchemy.py @@ -308,7 +308,7 @@ class Connection(base.Connection): .delete()) rows = sample_q.delete() - # remove Meter defintions with no matching samples + # remove Meter definitions with no matching samples (session.query(models.Meter) .filter(~models.Meter.samples.any()) .delete(synchronize_session='fetch'))