)]}'
{"nova/api/openstack/compute/shelve.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"66f6008a4a9d785eef213732bc41c2fcca39629b","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        new_az \u003d None"},{"line_number":89,"context_line":"        unshelve_dict \u003d body[\u0027unshelve\u0027]"},{"line_number":90,"context_line":"        support_az \u003d api_version_request.is_supported(req, \u00272.77\u0027)"},{"line_number":91,"context_line":"        if support_az and unshelve_dict:"},{"line_number":92,"context_line":"            new_az \u003d unshelve_dict[\u0027availability_zone\u0027]"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        # We could potentially move this check to conductor and avoid the"}],"source_content_type":"text/x-python","patch_set":3,"id":"7faddb67_951ddc78","line":91,"updated":"2019-08-29 13:28:40.000000000","message":"This isn\u0027t exactly what Alex suggested:\n\nhttps://review.opendev.org/#/c/663851/41/nova/api/openstack/compute/shelve.py@91\n\nBut it gets the job done, because if I\u0027ve requested 2.77 and there is a non-null body, it has to have availability_zone in it and {} isn\u0027t allowed. Otherwise unshelve_dict has to be none so we won\u0027t get to line 92. A comment could have been useful so people don\u0027t have to cross-check the schema when looking at this but I won\u0027t block on it.","commit_id":"25074cbe6cdf8091f0e9cee06f0018db73444d74"}]}
