Reviewed: https://review.openstack.org/97413 Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=658b89941299370db67b34e8b26750f00c013ca9 Submitter: Jenkins Branch: master
commit 658b89941299370db67b34e8b26750f00c013ca9 Author: liu-sheng <email address hidden> Date: Tue Jun 3 14:23:35 2014 +0800
Fix listener for update.start notifications
When listening for update.start, ceilometer-notification-agent will raise a KeyError exception. This is because, the "id" in notification message is in message['payload'] not the message['payload'][resource].
Change-Id: I6dd56fbf31c29e26670068004f6fc935b91266f0 Closes-Bug: #1325172
Reviewed: https:/ /review. openstack. org/97413 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=658b8994129 9370db67b34e8b2 6750f00c013ca9
Committed: https:/
Submitter: Jenkins
Branch: master
commit 658b89941299370 db67b34e8b26750 f00c013ca9
Author: liu-sheng <email address hidden>
Date: Tue Jun 3 14:23:35 2014 +0800
Fix listener for update.start notifications
When listening for update.start, ceilometer- notification- agent 'payload' ][resource] .
will raise a KeyError exception. This is because, the "id" in notification
message is in message['payload'] not the message[
Change-Id: I6dd56fbf31c29e 26670068004f6fc 935b91266f0
Closes-Bug: #1325172