Commit c4952d54 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Service component:

- Fixed selection of src/dst device names
parent 9ab2c8e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -278,7 +278,7 @@ class ServiceServiceServicerImpl(ServiceServiceServicer):
            ports = []
            for endpoint_id in service.service_endpoint_ids:
                endpoint_device_uuid = endpoint_id.device_id.device_uuid.uuid
                if "." or "MGON" in endpoint_device_uuid:
                if "." in endpoint_device_uuid or "MGON" in endpoint_device_uuid:
                    endpoint_device_name = endpoint_device_uuid
                else:
                    endpoint_device_name = device_names[endpoint_device_uuid]