Explorar o código

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

Weixia %!s(int64=6) %!d(string=hai) anos
pai
achega
18bed68bd2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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