Change spelling mistakes
Change-Id: I2439ce264bd9a8566a2b88c1d8af5d3537814ecc
This commit is contained in:
parent
6f2a20d57b
commit
424e9b35fe
@ -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]
|
||||
|
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user