瀏覽代碼

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

Weixia 6 年之前
父節點
當前提交
18bed68bd2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/libs/metadata/src/metadata/catalog/atlas_client.py

+ 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