Skip to content

Commit

Permalink
fix bug that assigned dbs to pre-formatted domain (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
LavMatt authored Jul 4, 2024
1 parent fd0c6bf commit ac4f44b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ingestion/create_cadet_databases_source/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ def get_workunits(self) -> Iterable[MetadataWorkUnit]:
env=ENV,
backcompat_env_as_instance=True,
)
domain_urn = mce_builder.make_domain_urn(domain=domain)
domain_name = format_domain_name(domain)
domain_urn = mce_builder.make_domain_urn(domain=domain_name)
display_tag = display_tags.get(database)

logging.info(f"Creating container {database=} with {domain=}")
logging.info(f"Creating container {database=} with {domain_name=}")
yield from mcp_builder.gen_containers(
container_key=database_container_key,
name=database,
Expand Down

0 comments on commit ac4f44b

Please sign in to comment.