Comment 2 for bug 1394228

Revision history for this message
Claudio (claudio-pupparo) wrote :

I have created a fix for this bug, it's in the attachment.
There are also two tests that reference the older pollster_matches variable, so I think they must be modified too:
./ceilometer/tests/agentbase.py:364: pollsters = polling_tasks.get(60).pollster_matches
./ceilometer/tests/agentbase.py:748: pollster = list(polling_task.pollster_matches)[0][1]