mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-11 15:28:00 +00:00
Remove existing entity source hash presence check (#21621)
This commit is contained in:
parent
30be77e03a
commit
ba8716bf8a
@ -393,8 +393,7 @@ class TopologyRunnerMixin(Generic[C]):
|
|||||||
if entity is None and stage.use_cache:
|
if entity is None and stage.use_cache:
|
||||||
# check if we find the entity in the entities list
|
# check if we find the entity in the entities list
|
||||||
entity_source_hash = self.cache[stage.type_].get(entity_fqn)
|
entity_source_hash = self.cache[stage.type_].get(entity_fqn)
|
||||||
if entity_source_hash:
|
# if the source hash is not present or different from new hash, update the entity
|
||||||
# if the source hash is present, compare it with new hash
|
|
||||||
# if overrideMetadata is true, we will always update the entity
|
# if overrideMetadata is true, we will always update the entity
|
||||||
if (
|
if (
|
||||||
entity_source_hash != create_entity_request_hash
|
entity_source_hash != create_entity_request_hash
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user