Skip to content

Commit c9e4bb6

Browse files
feat(glossary): fix pipeline issue
1 parent 1f1c16e commit c9e4bb6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

metadata-ingestion/src/datahub/ingestion/source/metadata/business_glossary.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ def get_owners_multiple_types(owners: OwnersMultipleTypes) -> models.OwnershipCl
170170

171171
def get_owners(owners: Owners) -> Iterable[models.OwnerClass]:
172172
if owners.type and owners.type.startswith("urn:li:ownershipType:"):
173-
ownership_type = "CUSTOM"
174-
ownership_type_urn = owners.type
173+
ownership_type, ownership_type_urn = "CUSTOM", owners.type
175174
else:
176175
ownership_type, ownership_type_urn = validate_ownership_type(
177176
owners.type or models.OwnershipTypeClass.DEVELOPER

0 commit comments

Comments
 (0)