)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"f859738b3c69fcaf70c173c73142016b58c73d92","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Remove useless db call instance_get_all_by_host_and_not_type"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"As in https://review.openstack.org/#/c/160512/, the scheduler filters"},{"line_number":10,"context_line":"TypeAffinityFilter didn\u0027t depend on any db call anymore. Then there isn\u0027t"},{"line_number":11,"context_line":"anyone invoke instance_get_all_by_host_and_not_type anymore. This patch"},{"line_number":12,"context_line":"clean up it."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"9a41bdd9_0d92b99e","line":9,"updated":"2015-07-14 02:14:04.000000000","message":"The above commit should be described as a Change-Id instead of the url for reading the history without web browser.\n\nThe above commit was merged into Kilo, and we are now in Liberty. So we can remove this method now.","commit_id":"73a242922e11ebedd53599100555b8a26ebcddae"}],"nova/objects/instance.py":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"0ba54da298c6fc951c76595af3fbecf550862ae8","unresolved":false,"context_lines":[{"line_number":1233,"context_line":"    def get_by_host_and_not_type(cls, context, host, type_id\u003dNone,"},{"line_number":1234,"context_line":"                                 expected_attrs\u003dNone):"},{"line_number":1235,"context_line":"        db_inst_list \u003d db.instance_get_all_by_host_and_not_type("},{"line_number":1236,"context_line":"            context, host, type_id\u003dtype_id)"},{"line_number":1237,"context_line":"        return _make_instance_list(context, cls(), db_inst_list,"},{"line_number":1238,"context_line":"                                   expected_attrs)"},{"line_number":1239,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"9a41bdd9_6a9bcf66","side":"PARENT","line":1236,"updated":"2015-07-15 13:53:51.000000000","message":"Yeah, technically you can\u0027t do this. It\u0027s a grey area if it was never used remotely, but the rules are that we don\u0027t remove it until v2.0 of the object.\n\nIMHO, you should ensure it\u0027s not used today, mark it as deprecated here and in the DB API and then we can remove it in v2.","commit_id":"49a16abf360278c3ca740be6f371fe0386591ad4"}]}
