Browse Source

[catalog] HUE-8857 return accurate owner from atlas entity

Weixia 6 năm trước cách đây
mục cha
commit
18bed68bd2

+ 1 - 1
desktop/libs/metadata/src/metadata/catalog/atlas_client.py

@@ -101,7 +101,7 @@ class AtlasApi(Api):
       "original_name": atlas_entity['attributes'].get('name'),
       "originalDescription": None,
       "originalName": atlas_entity['attributes'].get('name'),
-      "owner": atlas_entity.get('owner'),
+      "owner": atlas_entity['attributes'].get('owner'),
       "parentPath": '', # Set below
       "properties": {}, # Set below
       "sourceType": '', # Set below