)]}'
{"nova/compute/resource_tracker.py":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"57a93229010b1e6a0dd7edaefcb4b96d56271fef","unresolved":false,"context_lines":[{"line_number":973,"context_line":""},{"line_number":974,"context_line":"    def _get_instance_type(self, context, instance, prefix, migration):"},{"line_number":975,"context_line":"        \"\"\"Get the instance type from instance.\"\"\""},{"line_number":976,"context_line":"        stashed_flavors \u003d migration.migration_type in \u0027resize\u0027"},{"line_number":977,"context_line":"        if stashed_flavors:"},{"line_number":978,"context_line":"            return getattr(instance, \u0027%sflavor\u0027 % prefix)"},{"line_number":979,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5aef4532_9c7593cc","line":976,"updated":"2016-03-10 12:09:50.000000000","message":"this is definitively wrong.","commit_id":"b43c309e89116c09ffa5232b4b30453c3607fd98"},{"author":{"_account_id":12712,"name":"Gleb Stepanov","email":"gstepanov@mirantis.com","username":"stgleb"},"change_message_id":"d72bfd37c513e3c4055ed80a966e7ea230ad4f72","unresolved":false,"context_lines":[{"line_number":973,"context_line":""},{"line_number":974,"context_line":"    def _get_instance_type(self, context, instance, prefix, migration):"},{"line_number":975,"context_line":"        \"\"\"Get the instance type from instance.\"\"\""},{"line_number":976,"context_line":"        stashed_flavors \u003d migration.migration_type in \u0027resize\u0027"},{"line_number":977,"context_line":"        if stashed_flavors:"},{"line_number":978,"context_line":"            return getattr(instance, \u0027%sflavor\u0027 % prefix)"},{"line_number":979,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5aef4532_080bf9d6","line":976,"in_reply_to":"5aef4532_9c7593cc","updated":"2016-03-10 13:11:56.000000000","message":"I guess you are right, but can in be possible that migration.migration_type is substring of resize\u0027resize\u0027 but not equals to \u0027resize\u0027?","commit_id":"b43c309e89116c09ffa5232b4b30453c3607fd98"}]}
