From a611338692eb6be475710759da47115ecbb4ad2e Mon Sep 17 00:00:00 2001 From: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Date: Thu, 12 May 2022 22:58:17 +0530 Subject: [PATCH] Fix #4919: Fix elastic seach teams indexing (#4911) --- ingestion/src/metadata/ingestion/sink/elasticsearch.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ingestion/src/metadata/ingestion/sink/elasticsearch.py b/ingestion/src/metadata/ingestion/sink/elasticsearch.py index 6a9ee2418d3..b399a81a19c 100644 --- a/ingestion/src/metadata/ingestion/sink/elasticsearch.py +++ b/ingestion/src/metadata/ingestion/sink/elasticsearch.py @@ -11,7 +11,6 @@ import json import ssl -import traceback from datetime import datetime from typing import List, Optional @@ -523,7 +522,7 @@ class ElasticsearchSink(Sink[Entity]): owns = [] if team.users: for user in team.users.__root__: - users.append(user) + users.append(user.name) if team.owns: for own in team.owns.__root__: