)]}'
{"openstack_dashboard/api/neutron.py":[{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"3592a5fe3833925f6e63572054bba33b90bf7df1","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                ports[0], ports[0].fixed_ips[0][\u0027ip_address\u0027], \u0027\u0027)"},{"line_number":712,"context_line":""},{"line_number":713,"context_line":"    @profiler.trace"},{"line_number":714,"context_line":"    def list_targets_by_instance(self, instance_id, target_list\u003dNone):"},{"line_number":715,"context_line":"        \"\"\"Returns a list of FloatingIpTarget objects of FIP association."},{"line_number":716,"context_line":""},{"line_number":717,"context_line":"        :param instance_id: ID of target VM instance"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_cf05a015","line":714,"range":{"start_line":714,"start_character":7,"end_line":714,"end_character":33},"updated":"2017-10-27 11:13:42.000000000","message":"This method is almost the same as get_target_by_instance. It would be good to re-use code here to avoid duplication and make the same changes in several places.","commit_id":"3e4382901395711d6c604b0be3e5cb7f5ec3a0a2"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"4eeb19fab3c85d6415968cf3d938a5cd38c33fed","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                ports[0], ports[0].fixed_ips[0][\u0027ip_address\u0027], \u0027\u0027)"},{"line_number":712,"context_line":""},{"line_number":713,"context_line":"    @profiler.trace"},{"line_number":714,"context_line":"    def list_targets_by_instance(self, instance_id, target_list\u003dNone):"},{"line_number":715,"context_line":"        \"\"\"Returns a list of FloatingIpTarget objects of FIP association."},{"line_number":716,"context_line":""},{"line_number":717,"context_line":"        :param instance_id: ID of target VM instance"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_44bbcec3","line":714,"range":{"start_line":714,"start_character":7,"end_line":714,"end_character":33},"in_reply_to":"3f4b6375_cf05a015","updated":"2017-10-27 15:23:11.000000000","message":"That is the reason I dropped get_target_by_instance in https://review.openstack.org/#/c/513923/ (as a follow-up). I believe list_targets_by_instance is essential because a single instance can have multiple ports and potentially we can associate FIP for each port. Thus, I decided to keep the logic as-is and drop a less meaningful method (get_target_by_instance) as a follow-up.","commit_id":"3e4382901395711d6c604b0be3e5cb7f5ec3a0a2"}]}
