)]}'
{"nova/compute/resource_tracker.py":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"dfb2a76c86297e30e034ed10495b08af9ce3084d","unresolved":false,"context_lines":[{"line_number":913,"context_line":""},{"line_number":914,"context_line":"    def _get_instance_type(self, context, instance, prefix, migration):"},{"line_number":915,"context_line":"        \"\"\"Get the instance type from instance.\"\"\""},{"line_number":916,"context_line":"        stashed_flavors \u003d migration.migration_type in (\u0027migration\u0027, \u0027resize\u0027)"},{"line_number":917,"context_line":"        if stashed_flavors:"},{"line_number":918,"context_line":"            return getattr(instance, \u0027%sflavor\u0027 % prefix)"},{"line_number":919,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba15a1d1_cd29228b","line":916,"updated":"2015-09-22 16:45:24.000000000","message":"Do we need to do this for migrations or just resize?","commit_id":"69576ebf8dcd92adacc934cf6a2f079b9f2e9fc6"},{"author":{"_account_id":5511,"name":"Nikola Dipanov","email":"ndipanov@redhat.com","username":"ndipanov"},"change_message_id":"f612ebef604c461858e25af67c657c43de28a7ec","unresolved":false,"context_lines":[{"line_number":913,"context_line":""},{"line_number":914,"context_line":"    def _get_instance_type(self, context, instance, prefix, migration):"},{"line_number":915,"context_line":"        \"\"\"Get the instance type from instance.\"\"\""},{"line_number":916,"context_line":"        stashed_flavors \u003d migration.migration_type in (\u0027migration\u0027, \u0027resize\u0027)"},{"line_number":917,"context_line":"        if stashed_flavors:"},{"line_number":918,"context_line":"            return getattr(instance, \u0027%sflavor\u0027 % prefix)"},{"line_number":919,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba15a1d1_97d33038","line":916,"in_reply_to":"ba15a1d1_cd29228b","updated":"2015-09-22 18:36:40.000000000","message":"I guess just resize but it seems that we are stashing these for migrate as well so there is no real difference, and is more inline with that","commit_id":"69576ebf8dcd92adacc934cf6a2f079b9f2e9fc6"},{"author":{"_account_id":5511,"name":"Nikola Dipanov","email":"ndipanov@redhat.com","username":"ndipanov"},"change_message_id":"9cc061bf79303585764a7cd87f7fe214a11a3a87","unresolved":false,"context_lines":[{"line_number":913,"context_line":""},{"line_number":914,"context_line":"    def _get_instance_type(self, context, instance, prefix, migration):"},{"line_number":915,"context_line":"        \"\"\"Get the instance type from instance.\"\"\""},{"line_number":916,"context_line":"        stashed_flavors \u003d migration.migration_type in (\u0027resize\u0027)"},{"line_number":917,"context_line":"        if stashed_flavors:"},{"line_number":918,"context_line":"            return getattr(instance, \u0027%sflavor\u0027 % prefix)"},{"line_number":919,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba15a1d1_827afe86","line":916,"updated":"2015-09-23 07:05:14.000000000","message":"(\u0027resize\u0027) is a string not a tuple here - this means that our test coverage for outgoing migrations is not good as this should not work for old flavors","commit_id":"4ee4f9f2ec639d3361d65dd2187f5bde48be9970"},{"author":{"_account_id":5511,"name":"Nikola Dipanov","email":"ndipanov@redhat.com","username":"ndipanov"},"change_message_id":"45dcbc728e00d3c897fd787112041e4c6d81b8d0","unresolved":false,"context_lines":[{"line_number":913,"context_line":""},{"line_number":914,"context_line":"    def _get_instance_type(self, context, instance, prefix, migration):"},{"line_number":915,"context_line":"        \"\"\"Get the instance type from instance.\"\"\""},{"line_number":916,"context_line":"        stashed_flavors \u003d migration.migration_type in (\u0027resize\u0027)"},{"line_number":917,"context_line":"        if stashed_flavors:"},{"line_number":918,"context_line":"            return getattr(instance, \u0027%sflavor\u0027 % prefix)"},{"line_number":919,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba15a1d1_1d064f1c","line":916,"in_reply_to":"ba15a1d1_827afe86","updated":"2015-09-23 07:55:55.000000000","message":"Actually never mind - this works accidentally, and we can fix it later.","commit_id":"4ee4f9f2ec639d3361d65dd2187f5bde48be9970"}]}
