)]}'
{"nova/compute/api.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"31cf88763cfbb06b9fcb1f3a0528c0396312dcaf","unresolved":false,"context_lines":[{"line_number":3318,"context_line":"        if not same_instance_type and new_instance_type.get(\u0027disabled\u0027):"},{"line_number":3319,"context_line":"            raise exception.FlavorNotFound(flavor_id\u003dflavor_id)"},{"line_number":3320,"context_line":""},{"line_number":3321,"context_line":"        if same_instance_type and flavor_id and self.cell_type !\u003d \u0027compute\u0027:"},{"line_number":3322,"context_line":"            reason \u003d _(\u0027Resize to same flavor is not allowed.\u0027)"},{"line_number":3323,"context_line":"            raise exception.CannotResizeDisk(reason\u003dreason)"},{"line_number":3324,"context_line":""},{"line_number":3325,"context_line":"        # ensure there is sufficient headroom for upsizes"},{"line_number":3326,"context_line":"        if flavor_id:"}],"source_content_type":"text/x-python","patch_set":2,"id":"1f1a1f67_7196bd40","line":3323,"range":{"start_line":3321,"start_character":8,"end_line":3323,"end_character":59},"updated":"2017-07-18 13:44:45.000000000","message":"I don\u0027t really like this because CannotResizeDisk has the error message:\n\n\"Server disk was unable to be resized because: $reason\"\n\nSo this would say,\n\n\"Server disk was unable to be resized because: Resize to same flavor is not allowed.\"\n\nResizing to the same flavor and not being able to resize the disk are different issues. I can resize with a different flavor but the disk is the same. So I think changing this actually makes it more confusing.","commit_id":"d4a871202c3cab6de8db93c6bf02e2bf352e1cfd"}]}
