)]}'
{"nova/compute/api.py":[{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"f663c5f5b0989c863d54eb2fe90698785df8e160","unresolved":false,"context_lines":[{"line_number":3594,"context_line":"            # able to invoke retry checks to prevent race conditions without"},{"line_number":3595,"context_line":"            # needing to rely on a context manager since the initial check and"},{"line_number":3596,"context_line":"            # the retry check are happening in different processes."},{"line_number":3597,"context_line":"            enforcer.enforce()"},{"line_number":3598,"context_line":""},{"line_number":3599,"context_line":"        instance.task_state \u003d task_states.RESIZE_PREP"},{"line_number":3600,"context_line":"        instance.progress \u003d 0"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_a3530bde","line":3597,"updated":"2018-11-05 20:37:12.000000000","message":"This looks reasonable in the case of an upsize, but I think you\u0027d want to put this logic in a helper function and only do the claim/enforce _if_ it is an upsize. In the case of a downsize or 0 change, there\u0027s no need to claim/enforce.","commit_id":"1d47f5be170f97840aba3dba72cc4d60f5659fc1"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"182e1721ba52986cee7ecfb5e847d0674cca1e45","unresolved":false,"context_lines":[{"line_number":3594,"context_line":"            # able to invoke retry checks to prevent race conditions without"},{"line_number":3595,"context_line":"            # needing to rely on a context manager since the initial check and"},{"line_number":3596,"context_line":"            # the retry check are happening in different processes."},{"line_number":3597,"context_line":"            enforcer.enforce()"},{"line_number":3598,"context_line":""},{"line_number":3599,"context_line":"        instance.task_state \u003d task_states.RESIZE_PREP"},{"line_number":3600,"context_line":"        instance.progress \u003d 0"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_23d4dbe9","line":3597,"in_reply_to":"3f79a3b5_a3530bde","updated":"2018-11-05 20:49:14.000000000","message":"Oh, good point.","commit_id":"1d47f5be170f97840aba3dba72cc4d60f5659fc1"}]}
