projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a Common KafkaConsumer for all of the plugins
[osm/MON.git]
/
plugins
/
OpenStack
/
response.py
diff --git
a/plugins/OpenStack/response.py
b/plugins/OpenStack/response.py
index
e59c7ca
..
691374a
100644
(file)
--- a/
plugins/OpenStack/response.py
+++ b/
plugins/OpenStack/response.py
@@
-22,7
+22,8
@@
"""Generate valid responses to send back to the SO."""
import json
"""Generate valid responses to send back to the SO."""
import json
-import logging as log
+import logging
+log = logging.getLogger(__name__)
__author__ = "Helena McGough"
__author__ = "Helena McGough"
@@
-59,6
+60,7
@@
class OpenStack_Response(object):
message = self.notify_alarm(**kwargs)
else:
log.warn("Failed to generate a valid response message.")
message = self.notify_alarm(**kwargs)
else:
log.warn("Failed to generate a valid response message.")
+ message = None
return message
return message