mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-25 10:20:10 +00:00
fix ingestion of owner in dbt, via email (#17613)
This commit is contained in:
parent
c5b93124ba
commit
5eae1e371c
@ -162,7 +162,7 @@ class DbtSource(DbtServiceSource):
|
|||||||
return owner
|
return owner
|
||||||
|
|
||||||
# If owner is not found, try to find the owner in OMD using email
|
# If owner is not found, try to find the owner in OMD using email
|
||||||
owner = self.metadata.get_reference_by_email(name=dbt_owner)
|
owner = self.metadata.get_reference_by_email(email=dbt_owner)
|
||||||
|
|
||||||
if not owner:
|
if not owner:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user