summaryrefslogtreecommitdiff
path: root/ceilometer/volume
diff options
context:
space:
mode:
authorIgor Degtiarov <idegtiarov@mirantis.com>2014-07-01 13:41:27 +0300
committerIgor Degtiarov <idegtiarov@mirantis.com>2014-07-01 13:41:27 +0300
commitf67bce40fbaa52acb15c9807774e3a7c4d5620f1 (patch)
tree7154738216aadab61f736ea88bce380e7717b06b /ceilometer/volume
parent92a08daa317ac57d960c5818deb7c6cfb8ef8270 (diff)
downloadceilometer-f67bce40fbaa52acb15c9807774e3a7c4d5620f1.tar.gz
Fix H405 violations and re-enable gating
H405 is a new rule in hacking 0.9, so fix new violations and re-enable gating. Change-Id: I61541fa0a9dc18ad938df54d56c65c972b151622
Diffstat (limited to 'ceilometer/volume')
-rw-r--r--ceilometer/volume/notifications.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ceilometer/volume/notifications.py b/ceilometer/volume/notifications.py
index 92736852..101a9c24 100644
--- a/ceilometer/volume/notifications.py
+++ b/ceilometer/volume/notifications.py
@@ -40,8 +40,10 @@ class _Base(plugin.NotificationBase):
@staticmethod
def get_targets(conf):
- """Return a sequence of oslo.messaging.Target defining the exchange and
- topics to be connected for this plugin.
+ """Return a sequence of oslo.messaging.Target
+
+ Sequence defining the exchange and topics to be connected for this
+ plugin.
"""
return [oslo.messaging.Target(topic=topic,
exchange=conf.cinder_control_exchange)