)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"4270bd99de2c29b749a2cba4a0b9e38f8b6209de","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     LisaLi \u003cxiaoyan.li@intel.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-02-04 15:19:20 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Update quota when volume type renames."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When customers rename volume type, the corresponding quota_usages"},{"line_number":10,"context_line":"should be changed. Or else quota_usage shows incorrect data."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"5a5ae5dd_5d519161","line":7,"range":{"start_line":7,"start_character":37,"end_line":7,"end_character":38},"updated":"2016-02-09 21:42:17.000000000","message":"Please remove \u0027.\u0027 at the end of the summary line.\n\nhttps://wiki.openstack.org/wiki/GitCommitMessages#Summary_of_Git_commit_message_structure","commit_id":"1b875613ceea1a1204793470f82796bb163859d7"}],"cinder/db/sqlalchemy/api.py":[{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"0f7785a3d123cf85a10007fa7b377d72cf814312","unresolved":false,"context_lines":[{"line_number":981,"context_line":"        usages \u003d _quota_usages_by_id(context, session, project_id)"},{"line_number":982,"context_line":""},{"line_number":983,"context_line":"        for reservation in _quota_reservations(session, context, reservations):"},{"line_number":984,"context_line":"            usage \u003d usages[reservation.id]"},{"line_number":985,"context_line":"            if reservation.delta \u003e\u003d 0:"},{"line_number":986,"context_line":"                usage.reserved -\u003d reservation.delta"},{"line_number":987,"context_line":"            usage.in_use +\u003d reservation.delta"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba63e191_f5ac1bef","line":984,"range":{"start_line":984,"start_character":20,"end_line":984,"end_character":42},"updated":"2016-01-19 11:34:52.000000000","message":"There should be reservation.usage_id.","commit_id":"d4b4c04c711f457635542559032f8f70bbeaab42"},{"author":{"_account_id":15961,"name":"lisali","email":"xiaoyan.li@intel.com","username":"lisali"},"change_message_id":"44afad363a99aa700a2dce4838da97d312c298eb","unresolved":false,"context_lines":[{"line_number":981,"context_line":"        usages \u003d _quota_usages_by_id(context, session, project_id)"},{"line_number":982,"context_line":""},{"line_number":983,"context_line":"        for reservation in _quota_reservations(session, context, reservations):"},{"line_number":984,"context_line":"            usage \u003d usages[reservation.id]"},{"line_number":985,"context_line":"            if reservation.delta \u003e\u003d 0:"},{"line_number":986,"context_line":"                usage.reserved -\u003d reservation.delta"},{"line_number":987,"context_line":"            usage.in_use +\u003d reservation.delta"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba63e191_763b52ec","line":984,"range":{"start_line":984,"start_character":20,"end_line":984,"end_character":42},"in_reply_to":"ba63e191_f5ac1bef","updated":"2016-01-19 12:23:54.000000000","message":"This has been fixed in patch 2.","commit_id":"d4b4c04c711f457635542559032f8f70bbeaab42"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"0f7785a3d123cf85a10007fa7b377d72cf814312","unresolved":false,"context_lines":[{"line_number":997,"context_line":"        usages \u003d _quota_usages_by_id(context, session, project_id)"},{"line_number":998,"context_line":""},{"line_number":999,"context_line":"        for reservation in _quota_reservations(session, context, reservations):"},{"line_number":1000,"context_line":"            usage \u003d usages[reservation.id]"},{"line_number":1001,"context_line":"            if reservation.delta \u003e\u003d 0:"},{"line_number":1002,"context_line":"                usage.reserved -\u003d reservation.delta"},{"line_number":1003,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba63e191_55e96719","line":1000,"range":{"start_line":1000,"start_character":12,"end_line":1000,"end_character":42},"updated":"2016-01-19 11:34:52.000000000","message":"same as above.","commit_id":"d4b4c04c711f457635542559032f8f70bbeaab42"},{"author":{"_account_id":15961,"name":"lisali","email":"xiaoyan.li@intel.com","username":"lisali"},"change_message_id":"44afad363a99aa700a2dce4838da97d312c298eb","unresolved":false,"context_lines":[{"line_number":997,"context_line":"        usages \u003d _quota_usages_by_id(context, session, project_id)"},{"line_number":998,"context_line":""},{"line_number":999,"context_line":"        for reservation in _quota_reservations(session, context, reservations):"},{"line_number":1000,"context_line":"            usage \u003d usages[reservation.id]"},{"line_number":1001,"context_line":"            if reservation.delta \u003e\u003d 0:"},{"line_number":1002,"context_line":"                usage.reserved -\u003d reservation.delta"},{"line_number":1003,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba63e191_36263acf","line":1000,"range":{"start_line":1000,"start_character":12,"end_line":1000,"end_character":42},"in_reply_to":"ba63e191_55e96719","updated":"2016-01-19 12:23:54.000000000","message":"Fixed in patch 2.","commit_id":"d4b4c04c711f457635542559032f8f70bbeaab42"},{"author":{"_account_id":2759,"name":"Huang Zhiteng","email":"winston.d@gmail.com","username":"zhiteng-huang"},"change_message_id":"06e98ef227bb67c838a8039c3e9586e062d52e38","unresolved":false,"context_lines":[{"line_number":925,"context_line":"        all()"},{"line_number":926,"context_line":""},{"line_number":927,"context_line":""},{"line_number":928,"context_line":"def _quota_usages_by_id(context, session, project_id):"},{"line_number":929,"context_line":"    usages \u003d _get_quota_usages(context, session, project_id)"},{"line_number":930,"context_line":"    usages_by_id \u003d {row.id: row for row in usages.values()}"},{"line_number":931,"context_line":"    return usages_by_id"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a5de9d1_2d99717c","line":928,"updated":"2016-02-01 09:40:42.000000000","message":"The naming for this helper function is confusing, why isn\u0027t it starting with _get_? The only difference between this and _get_quota_usages() is how data is structured in returning value.","commit_id":"b61386de6b183fcfc13e796199dec80605a59d17"},{"author":{"_account_id":15961,"name":"lisali","email":"xiaoyan.li@intel.com","username":"lisali"},"change_message_id":"9e5dfab5fce1facb043feecf7f5ea78b81a1f300","unresolved":false,"context_lines":[{"line_number":925,"context_line":"        all()"},{"line_number":926,"context_line":""},{"line_number":927,"context_line":""},{"line_number":928,"context_line":"def _quota_usages_by_id(context, session, project_id):"},{"line_number":929,"context_line":"    usages \u003d _get_quota_usages(context, session, project_id)"},{"line_number":930,"context_line":"    usages_by_id \u003d {row.id: row for row in usages.values()}"},{"line_number":931,"context_line":"    return usages_by_id"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a5de9d1_4b5ca018","line":928,"in_reply_to":"7a5de9d1_2d99717c","updated":"2016-02-02 07:44:38.000000000","message":"Done","commit_id":"b61386de6b183fcfc13e796199dec80605a59d17"},{"author":{"_account_id":2759,"name":"Huang Zhiteng","email":"winston.d@gmail.com","username":"zhiteng-huang"},"change_message_id":"06e98ef227bb67c838a8039c3e9586e062d52e38","unresolved":false,"context_lines":[{"line_number":955,"context_line":"        usages \u003d _quota_usages_by_id(context, session, project_id)"},{"line_number":956,"context_line":""},{"line_number":957,"context_line":"        for reservation in _quota_reservations(session, context, reservations):"},{"line_number":958,"context_line":"            usage \u003d usages[reservation.usage_id]"},{"line_number":959,"context_line":"            if reservation.delta \u003e\u003d 0:"},{"line_number":960,"context_line":"                usage.reserved -\u003d reservation.delta"},{"line_number":961,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7a5de9d1_4d94ed41","line":958,"updated":"2016-02-01 09:40:42.000000000","message":"Why this change is required?  because \u0027resource\u0027 might have been changed or is being changed?","commit_id":"b61386de6b183fcfc13e796199dec80605a59d17"},{"author":{"_account_id":15961,"name":"lisali","email":"xiaoyan.li@intel.com","username":"lisali"},"change_message_id":"9e5dfab5fce1facb043feecf7f5ea78b81a1f300","unresolved":false,"context_lines":[{"line_number":955,"context_line":"        usages \u003d _quota_usages_by_id(context, session, project_id)"},{"line_number":956,"context_line":""},{"line_number":957,"context_line":"        for reservation in _quota_reservations(session, context, reservations):"},{"line_number":958,"context_line":"            usage \u003d usages[reservation.usage_id]"},{"line_number":959,"context_line":"            if reservation.delta \u003e\u003d 0:"},{"line_number":960,"context_line":"                usage.reserved -\u003d reservation.delta"},{"line_number":961,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7a5de9d1_abf19402","line":958,"in_reply_to":"7a5de9d1_4d94ed41","updated":"2016-02-02 07:44:38.000000000","message":"Yes.\n\nWhen reservation is rolled back or committed, it uses resource name to map quota_usages. \n\nAs resource may change. With resource id here, we don\u0027t need to update resource name in reservations table.\n\nusage_id never change. Use this field to connect with quota_usages is stable.","commit_id":"b61386de6b183fcfc13e796199dec80605a59d17"},{"author":{"_account_id":2759,"name":"Huang Zhiteng","email":"winston.d@gmail.com","username":"zhiteng-huang"},"change_message_id":"14377c5989dd2e830caff013781cd97850dd8dde","unresolved":false,"context_lines":[{"line_number":946,"context_line":"        all()"},{"line_number":947,"context_line":""},{"line_number":948,"context_line":""},{"line_number":949,"context_line":"def _get_quota_usages_by_id(context, session, project_id):"},{"line_number":950,"context_line":"    usages \u003d _get_quota_usages(context, session, project_id)"},{"line_number":951,"context_line":"    usages_by_id \u003d {row.id: row for row in usages.values()}"},{"line_number":952,"context_line":"    return usages_by_id"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a5de9d1_d7382340","line":949,"updated":"2016-02-02 13:11:00.000000000","message":"This is still confusing, existing _get_quota_usages() is actually _get_quota_usages_by_id (id means project_id here).  It\u0027s better to have a simple helper function to just do the format transform.\n\n    def _dict_with_usage_id(usage):\n        return {row.id: row for row in usages.values()}","commit_id":"3e361d11bb86f5d85ffb1877147eaed2b20b1116"},{"author":{"_account_id":15961,"name":"lisali","email":"xiaoyan.li@intel.com","username":"lisali"},"change_message_id":"49f59dfa471fc011c17b0c0bf6c592e9e4d5a65e","unresolved":false,"context_lines":[{"line_number":946,"context_line":"        all()"},{"line_number":947,"context_line":""},{"line_number":948,"context_line":""},{"line_number":949,"context_line":"def _get_quota_usages_by_id(context, session, project_id):"},{"line_number":950,"context_line":"    usages \u003d _get_quota_usages(context, session, project_id)"},{"line_number":951,"context_line":"    usages_by_id \u003d {row.id: row for row in usages.values()}"},{"line_number":952,"context_line":"    return usages_by_id"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a5ae5dd_645e5f47","line":949,"in_reply_to":"7a5de9d1_d7382340","updated":"2016-02-03 07:57:21.000000000","message":"Done","commit_id":"3e361d11bb86f5d85ffb1877147eaed2b20b1116"}],"cinder/db/sqlalchemy/migrate_repo/versions/064_delete_invalid_resource_from_quota_usages.py":[{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"536fb0a0fbfabbb969e469ebb8be1a9d22a3944d","unresolved":false,"context_lines":[{"line_number":26,"context_line":"    volume_types \u003d Table(\u0027volume_types\u0027, meta, autoload\u003dTrue)"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    quota_usage_list \u003d list(quota_usages."},{"line_number":29,"context_line":"                            select().where(quota_usages.c.deleted is False)."},{"line_number":30,"context_line":"                            execute())"},{"line_number":31,"context_line":"    for usage in quota_usage_list:"},{"line_number":32,"context_line":"        resource \u003d usage.resource"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba63e191_99b959ec","line":29,"range":{"start_line":29,"start_character":28,"end_line":29,"end_character":75},"updated":"2016-01-19 12:56:41.000000000","message":"There should be c.deleted \u003d\u003d 0, False is not work. I will change this.","commit_id":"fc3253cd45f4afee0686844870e223433446c476"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"536fb0a0fbfabbb969e469ebb8be1a9d22a3944d","unresolved":false,"context_lines":[{"line_number":32,"context_line":"        resource \u003d usage.resource"},{"line_number":33,"context_line":"        index \u003d resource.find(\u0027_\u0027)"},{"line_number":34,"context_line":"        # This is not a quota_usage related to a volume type"},{"line_number":35,"context_line":"        if (index \u003e 0 and not (resource[:index] in"},{"line_number":36,"context_line":"                               (\u0027volumes\u0027, \u0027gigabytes\u0027, \u0027snapshots\u0027))):"},{"line_number":37,"context_line":"            continue"},{"line_number":38,"context_line":"        volume_type_name \u003d resource[(index + 1):]"},{"line_number":39,"context_line":"        volume_type_list \u003d list(volume_types.select()."}],"source_content_type":"text/x-python","patch_set":2,"id":"ba63e191_bcb68bda","line":36,"range":{"start_line":35,"start_character":12,"end_line":36,"end_character":69},"updated":"2016-01-19 12:56:41.000000000","message":"Here also should consider index \u003d\u003d -1, that means no _ in resource, like volumes, gigabytes.","commit_id":"fc3253cd45f4afee0686844870e223433446c476"},{"author":{"_account_id":15961,"name":"lisali","email":"xiaoyan.li@intel.com","username":"lisali"},"change_message_id":"a1feb1b7fb6116964e7ceb22bd30bd05b7d6717e","unresolved":false,"context_lines":[{"line_number":32,"context_line":"        resource \u003d usage.resource"},{"line_number":33,"context_line":"        index \u003d resource.find(\u0027_\u0027)"},{"line_number":34,"context_line":"        # This is not a quota_usage related to a volume type"},{"line_number":35,"context_line":"        if (index \u003e 0 and not (resource[:index] in"},{"line_number":36,"context_line":"                               (\u0027volumes\u0027, \u0027gigabytes\u0027, \u0027snapshots\u0027))):"},{"line_number":37,"context_line":"            continue"},{"line_number":38,"context_line":"        volume_type_name \u003d resource[(index + 1):]"},{"line_number":39,"context_line":"        volume_type_list \u003d list(volume_types.select()."}],"source_content_type":"text/x-python","patch_set":2,"id":"ba63e191_5c00af34","line":36,"range":{"start_line":35,"start_character":12,"end_line":36,"end_character":69},"in_reply_to":"ba63e191_bcb68bda","updated":"2016-01-19 13:01:26.000000000","message":"Correct.","commit_id":"fc3253cd45f4afee0686844870e223433446c476"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"536fb0a0fbfabbb969e469ebb8be1a9d22a3944d","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        volume_type_list \u003d list(volume_types.select()."},{"line_number":40,"context_line":"                                where(volume_types.c.name \u003d\u003d"},{"line_number":41,"context_line":"                                      volume_type_name).execute())"},{"line_number":42,"context_line":"        if len(volume_type_list):"},{"line_number":43,"context_line":"            quota_usages.update().\\"},{"line_number":44,"context_line":"                where(quota_usages.c.id \u003d\u003d usage[\u0027id\u0027]).\\"},{"line_number":45,"context_line":"                values(deleted\u003dTrue).execute()"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba63e191_b9a1bdab","line":42,"range":{"start_line":42,"start_character":11,"end_line":42,"end_character":32},"updated":"2016-01-19 12:56:41.000000000","message":"Here should be if len(volume_type_list) \u003d\u003d 0.","commit_id":"fc3253cd45f4afee0686844870e223433446c476"},{"author":{"_account_id":15961,"name":"lisali","email":"xiaoyan.li@intel.com","username":"lisali"},"change_message_id":"a1feb1b7fb6116964e7ceb22bd30bd05b7d6717e","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        volume_type_list \u003d list(volume_types.select()."},{"line_number":40,"context_line":"                                where(volume_types.c.name \u003d\u003d"},{"line_number":41,"context_line":"                                      volume_type_name).execute())"},{"line_number":42,"context_line":"        if len(volume_type_list):"},{"line_number":43,"context_line":"            quota_usages.update().\\"},{"line_number":44,"context_line":"                where(quota_usages.c.id \u003d\u003d usage[\u0027id\u0027]).\\"},{"line_number":45,"context_line":"                values(deleted\u003dTrue).execute()"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba63e191_9cedc78d","line":42,"range":{"start_line":42,"start_character":11,"end_line":42,"end_character":32},"in_reply_to":"ba63e191_b9a1bdab","updated":"2016-01-19 13:01:26.000000000","message":"Yes, it should be 0.","commit_id":"fc3253cd45f4afee0686844870e223433446c476"},{"author":{"_account_id":2759,"name":"Huang Zhiteng","email":"winston.d@gmail.com","username":"zhiteng-huang"},"change_message_id":"06e98ef227bb67c838a8039c3e9586e062d52e38","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"7a5de9d1_ed9ef961","updated":"2016-02-01 09:40:42.000000000","message":"I don\u0027t think deleting invalid DB entries should be part of DB schema update.","commit_id":"b61386de6b183fcfc13e796199dec80605a59d17"},{"author":{"_account_id":2759,"name":"Huang Zhiteng","email":"winston.d@gmail.com","username":"zhiteng-huang"},"change_message_id":"48599205431e6c6aa936f68cb51fdd0ed803bbea","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"7a5de9d1_97f4eb87","updated":"2016-02-02 13:10:46.000000000","message":"I know there can be some dirty entries left in DB but I don\u0027t think those should be cleaned using DB migration script.","commit_id":"b61386de6b183fcfc13e796199dec80605a59d17"},{"author":{"_account_id":15961,"name":"lisali","email":"xiaoyan.li@intel.com","username":"lisali"},"change_message_id":"373106cbe40935cae0db0bc45d9b338147e469ff","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"5a5ae5dd_b356db04","in_reply_to":"7a5de9d1_97f4eb87","updated":"2016-02-03 07:57:50.000000000","message":"Once the patch is added, there should be no such invalid rows in quota_usages etc.\n\nThis script is just to clean invalid rows left before this bug is fixed.","commit_id":"b61386de6b183fcfc13e796199dec80605a59d17"},{"author":{"_account_id":15961,"name":"lisali","email":"xiaoyan.li@intel.com","username":"lisali"},"change_message_id":"9e5dfab5fce1facb043feecf7f5ea78b81a1f300","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"7a5de9d1_eb078cc7","in_reply_to":"7a5de9d1_ed9ef961","updated":"2016-02-02 07:44:38.000000000","message":"In former release, changing volume type doesn\u0027t delete the old resources in quota_usages, which leads a lot of invalid rows but available in db.\n\nWhen upgrading, the scrpit will delete all the invalid rows in quota_usages.\n\nAfter the bug is fixed, there will be no such invalid rows in quota_usages.","commit_id":"b61386de6b183fcfc13e796199dec80605a59d17"}],"cinder/tests/unit/api/contrib/test_types_manage.py":[{"author":{"_account_id":2759,"name":"Huang Zhiteng","email":"winston.d@gmail.com","username":"zhiteng-huang"},"change_message_id":"dd562cdb53d02e30d31dadb4d2f727503bff2ee9","unresolved":false,"context_lines":[{"line_number":370,"context_line":"    @mock.patch(\u0027cinder.db.volume_type_update\u0027)"},{"line_number":371,"context_line":"    @mock.patch(\u0027cinder.quota.VolumeTypeQuotaEngine.\u0027"},{"line_number":372,"context_line":"                \u0027update_quota_resource\u0027)"},{"line_number":373,"context_line":"    def test_update_only_name(self, mock_update_quota,"},{"line_number":374,"context_line":"                              mock_update, mock_get):"},{"line_number":375,"context_line":"        mock_get.return_value \u003d return_volume_types_get_volume_type_updated("},{"line_number":376,"context_line":"            \u0027999\u0027)"}],"source_content_type":"text/x-python","patch_set":11,"id":"5a5ae5dd_a28accbd","line":373,"updated":"2016-02-04 04:21:14.000000000","message":"I think it\u0027d be better if we can have a unit test for volume/volume_types.py (instead of changing the unit test for API extension).","commit_id":"618a4a05ead5d6e1d1f7ccd703662da35c6c526b"}],"cinder/volume/volume_types.py":[{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"956b9dae011275607ce0f1893bee299d0b0d4145","unresolved":false,"context_lines":[{"line_number":53,"context_line":"                                              description\u003ddescription),"},{"line_number":54,"context_line":"                                         projects\u003dprojects)"},{"line_number":55,"context_line":"        # update corresponding quota"},{"line_number":56,"context_line":"        QUOTAS.reset_quota_usage(context, type_ref)"},{"line_number":57,"context_line":"    except db_exc.DBError:"},{"line_number":58,"context_line":"        LOG.exception(_LE(\u0027DB error:\u0027))"},{"line_number":59,"context_line":"        raise exception.VolumeTypeCreateFailed(name\u003dname,"}],"source_content_type":"text/x-python","patch_set":1,"id":"da6ed579_5fdc1c46","line":56,"range":{"start_line":56,"start_character":7,"end_line":56,"end_character":51},"updated":"2016-01-18 09:56:14.000000000","message":"Lisa, you mean use reset_quota_usage to fix the incorrect record in DB when upgrading from old version cinder, right?  If I understand right, user need to create a new type as same name as the old type, and cinder will sync the right number when reserved next. \n\nIf that\u0027s true, I prefer to just clean up the old record by using cinder-manage, since IMO it\u0027s not appropriate to let admin create a type just in order to clean the old record. What do you think?","commit_id":"d4b4c04c711f457635542559032f8f70bbeaab42"},{"author":{"_account_id":2759,"name":"Huang Zhiteng","email":"winston.d@gmail.com","username":"zhiteng-huang"},"change_message_id":"dd562cdb53d02e30d31dadb4d2f727503bff2ee9","unresolved":false,"context_lines":[{"line_number":70,"context_line":"                                             dict(name\u003dname,"},{"line_number":71,"context_line":"                                                  description\u003ddescription,"},{"line_number":72,"context_line":"                                                  is_public\u003dis_public))"},{"line_number":73,"context_line":"        # Rename resource in quota_uasages if volume type name is changed."},{"line_number":74,"context_line":"        if name:"},{"line_number":75,"context_line":"            old_type_name \u003d old_volume_type.get(\u0027name\u0027)"},{"line_number":76,"context_line":"            if old_type_name !\u003d name:"}],"source_content_type":"text/x-python","patch_set":11,"id":"5a5ae5dd_c28588ad","line":73,"updated":"2016-02-04 04:21:14.000000000","message":"nit: s/quota_usages/quota_resource/","commit_id":"618a4a05ead5d6e1d1f7ccd703662da35c6c526b"}]}
