)]}'
{"cinder/scheduler/manager.py":[{"author":{"_account_id":25837,"name":"yenai","email":"yenai_yewu@cmss.chinamobile.com","username":"yenai2008"},"change_message_id":"5ec6467fadc470a653638740685954e1e232b561","unresolved":false,"context_lines":[{"line_number":304,"context_line":"        def _retype_volume_set_error(self, context, ex, request_spec,"},{"line_number":305,"context_line":"                                     volume_ref, reservations, msg\u003dNone):"},{"line_number":306,"context_line":"            if reservations:"},{"line_number":307,"context_line":"                project_id \u003d volume_ref[\u0027project_id\u0027]"},{"line_number":308,"context_line":"                QUOTAS.rollback(context, reservations, project_id)"},{"line_number":309,"context_line":"            previous_status \u003d ("},{"line_number":310,"context_line":"                volume_ref.previous_status or volume_ref.status)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_58f8ddc2","line":307,"updated":"2018-09-04 07:13:24.000000000","message":"I prefer to use volume_ref.project_id.","commit_id":"9fe9249b37fbbe268ba43309ccec6d70c8152dbe"},{"author":{"_account_id":25837,"name":"yenai","email":"yenai_yewu@cmss.chinamobile.com","username":"yenai2008"},"change_message_id":"5ec6467fadc470a653638740685954e1e232b561","unresolved":false,"context_lines":[{"line_number":305,"context_line":"                                     volume_ref, reservations, msg\u003dNone):"},{"line_number":306,"context_line":"            if reservations:"},{"line_number":307,"context_line":"                project_id \u003d volume_ref[\u0027project_id\u0027]"},{"line_number":308,"context_line":"                QUOTAS.rollback(context, reservations, project_id)"},{"line_number":309,"context_line":"            previous_status \u003d ("},{"line_number":310,"context_line":"                volume_ref.previous_status or volume_ref.status)"},{"line_number":311,"context_line":"            volume_state \u003d {\u0027volume_state\u0027: {\u0027status\u0027: previous_status}}"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_d82dcd46","line":308,"updated":"2018-09-04 07:13:24.000000000","message":"Keep the same style as other.\nQUOTAS.rollback(context, reservations, project_id\u003dproject_id)","commit_id":"9fe9249b37fbbe268ba43309ccec6d70c8152dbe"}],"cinder/volume/manager.py":[{"author":{"_account_id":25837,"name":"yenai","email":"yenai_yewu@cmss.chinamobile.com","username":"yenai2008"},"change_message_id":"5ec6467fadc470a653638740685954e1e232b561","unresolved":false,"context_lines":[{"line_number":2687,"context_line":"                volume.update(status_update)"},{"line_number":2688,"context_line":"                volume.save()"},{"line_number":2689,"context_line":"            finally:"},{"line_number":2690,"context_line":"                project_id \u003d volume[\u0027project_id\u0027]"},{"line_number":2691,"context_line":"                QUOTAS.rollback(context, old_reservations, project_id)"},{"line_number":2692,"context_line":"                QUOTAS.rollback(context, new_reservations, project_id)"},{"line_number":2693,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_b8281133","line":2690,"updated":"2018-09-04 07:13:24.000000000","message":"It\u0027s the same.","commit_id":"9fe9249b37fbbe268ba43309ccec6d70c8152dbe"},{"author":{"_account_id":25837,"name":"yenai","email":"yenai_yewu@cmss.chinamobile.com","username":"yenai2008"},"change_message_id":"5ec6467fadc470a653638740685954e1e232b561","unresolved":false,"context_lines":[{"line_number":2689,"context_line":"            finally:"},{"line_number":2690,"context_line":"                project_id \u003d volume[\u0027project_id\u0027]"},{"line_number":2691,"context_line":"                QUOTAS.rollback(context, old_reservations, project_id)"},{"line_number":2692,"context_line":"                QUOTAS.rollback(context, new_reservations, project_id)"},{"line_number":2693,"context_line":""},{"line_number":2694,"context_line":"        status_update \u003d {\u0027status\u0027: volume.previous_status}"},{"line_number":2695,"context_line":"        if context.project_id !\u003d volume.project_id:"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_9823d558","line":2692,"updated":"2018-09-04 07:13:24.000000000","message":"It\u0027s the same.","commit_id":"9fe9249b37fbbe268ba43309ccec6d70c8152dbe"}]}
