)]}'
{"heat/engine/resources/openstack/nova/server_group.py":[{"author":{"_account_id":8833,"name":"Rabi Mishra","email":"ramishra@redhat.com","username":"rabi"},"change_message_id":"2084a134f77dee13fd13eb172b0abd832c80f7e0","unresolved":true,"context_lines":[{"line_number":89,"context_line":"        policies \u003d self.properties[self.POLICIES]"},{"line_number":90,"context_line":"        if self.properties[self.RULE] and \u0027soft-affinity\u0027 in policies:"},{"line_number":91,"context_line":"            rule \u003d self.properties[self.RULE]"},{"line_number":92,"context_line":"            client \u003d self.client(version\u003dMICROVERSION_RULE)"},{"line_number":93,"context_line":"            server_group \u003d client.server_groups.create(name\u003dname,"},{"line_number":94,"context_line":"                                                       policies\u003dpolicies,"},{"line_number":95,"context_line":"                                                       rule\u003drule)"}],"source_content_type":"text/x-python","patch_set":12,"id":"d8e390bc_c95139ef","line":92,"range":{"start_line":92,"start_character":12,"end_line":92,"end_character":59},"updated":"2021-04-23 06:45:10.000000000","message":"I don\u0027t think we need to create a versioned client for this or for soft policies, we always use the latest microversion supported. So if the validation has not failed, self.client() would work.","commit_id":"97753c1eb40723f4c63a08bba58bb68eae44a807"},{"author":{"_account_id":8833,"name":"Rabi Mishra","email":"ramishra@redhat.com","username":"rabi"},"change_message_id":"d13ec17c0802be3bf42f2c55e506cf60b5b43243","unresolved":true,"context_lines":[{"line_number":87,"context_line":"    def handle_create(self):"},{"line_number":88,"context_line":"        name \u003d self.physical_resource_name()"},{"line_number":89,"context_line":"        policies \u003d self.properties[self.POLICIES]"},{"line_number":90,"context_line":"        if self.properties[self.RULE] and \u0027soft-affinity\u0027 in policies:"},{"line_number":91,"context_line":"            rule \u003d self.properties[self.RULE]"},{"line_number":92,"context_line":"            client \u003d self.client()"},{"line_number":93,"context_line":"            server_group \u003d client.server_groups.create(name\u003dname,"}],"source_content_type":"text/x-python","patch_set":14,"id":"e1412c87_f2e8c10a","line":90,"range":{"start_line":90,"start_character":43,"end_line":90,"end_character":57},"updated":"2021-10-08 08:37:34.000000000","message":"anti-affinity","commit_id":"07810f6c9afe9983517de1d4b6b7ebf331a90c1d"},{"author":{"_account_id":8833,"name":"Rabi Mishra","email":"ramishra@redhat.com","username":"rabi"},"change_message_id":"d13ec17c0802be3bf42f2c55e506cf60b5b43243","unresolved":true,"context_lines":[{"line_number":94,"context_line":"                                                       policies\u003dpolicies,"},{"line_number":95,"context_line":"                                                       rule\u003drule)"},{"line_number":96,"context_line":"        else:"},{"line_number":97,"context_line":"            client \u003d self.client()"},{"line_number":98,"context_line":"            server_group \u003d client.server_groups.create(name\u003dname,"},{"line_number":99,"context_line":"                                                       policies\u003dpolicies)"},{"line_number":100,"context_line":"        self.resource_id_set(server_group.id)"}],"source_content_type":"text/x-python","patch_set":14,"id":"cf32168c_9d607c04","line":97,"range":{"start_line":97,"start_character":12,"end_line":97,"end_character":34},"updated":"2021-10-08 08:37:34.000000000","message":"Use of latest microversion won\u0027t work here as the method signature has changed.","commit_id":"07810f6c9afe9983517de1d4b6b7ebf331a90c1d"}]}
