)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"1c11d996bdc225d7974eba6d01df005dd549406f","unresolved":false,"context_lines":[{"line_number":11,"context_line":"passes None as allocation requests to the scheduler driver."},{"line_number":12,"context_line":"The FilterScheduler then blows up as it wants to iterate the"},{"line_number":13,"context_line":"allocation requests. In normal case allocation requests is a"},{"line_number":14,"context_line":"defaultdic(list). This patch moves the initialization of the"},{"line_number":15,"context_line":"allocation request earlier in select_destinations to avoid passing"},{"line_number":16,"context_line":"None to the scheduler driver."},{"line_number":17,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1f1a1f67_c6eb47da","line":14,"updated":"2017-07-20 12:17:43.000000000","message":"defaultdict","commit_id":"f307a7e8db095470ffe62a17ce653b378af8ac92"}],"nova/tests/unit/scheduler/test_scheduler.py":[{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"d31640111428304f496d4f3b2b43d2583203b669","unresolved":false,"context_lines":[{"line_number":132,"context_line":"            self.manager.select_destinations(None, spec_obj\u003dfake_spec,"},{"line_number":133,"context_line":"                    instance_uuids\u003d[fake_spec.instance_uuid])"},{"line_number":134,"context_line":"            select_destinations.assert_called_once_with(None, fake_spec,"},{"line_number":135,"context_line":"                    [fake_spec.instance_uuid], {}, None)"},{"line_number":136,"context_line":"            mock_get_ac.assert_called_once_with(mock_rfrs.return_value)"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"    @mock.patch(\u0027nova.scheduler.utils.resources_from_request_spec\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f1a1f67_883f9986","line":135,"updated":"2017-07-20 13:26:10.000000000","message":"so, I\u0027d prefer to return None if placement is not supported.","commit_id":"7716f148b69b16a1eaca5bc702a898d77cb0e5a4"}]}
