From 180fff86b5d52cf6e7390c6e32808b25e1e1a51d Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Tue, 11 Jul 2023 13:57:15 +0000
Subject: [PATCH] Pre-release CI/CD pipeline fixes

---
 src/service/service/ServiceServiceServicerImpl.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/service/service/ServiceServiceServicerImpl.py b/src/service/service/ServiceServiceServicerImpl.py
index cdb4f7660..4876d83f6 100644
--- a/src/service/service/ServiceServiceServicerImpl.py
+++ b/src/service/service/ServiceServiceServicerImpl.py
@@ -131,8 +131,8 @@ class ServiceServiceServicerImpl(ServiceServiceServicer):
             constraint.endpoint_location.endpoint_id.CopyFrom(closer_endpoint_id)
 
             service_endpoint_ids = [
-                endpoint.endpoint_id.endpoint_uuid
-                for endpoint in service.service_endpoint_ids
+                endpoint_id.endpoint_uuid
+                for endpoint_id in service.service_endpoint_ids
             ]
             if closer_endpoint_id not in service_endpoint_ids:
                 service.service_endpoint_ids.append(closer_endpoint_id)
-- 
GitLab