diff --git a/metadata-ingestion/src/datahub/ingestion/source/state/stale_entity_removal_handler.py b/metadata-ingestion/src/datahub/ingestion/source/state/stale_entity_removal_handler.py index 71848d6195d6b3..fcd45164f6e199 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/state/stale_entity_removal_handler.py +++ b/metadata-ingestion/src/datahub/ingestion/source/state/stale_entity_removal_handler.py @@ -115,7 +115,7 @@ def compute_percent_entities_changed( overlap_count_all += overlap_count old_count_all += old_count if old_count_all: - return (1 - overlap_count / old_count_all) * 100.0 + return (1 - overlap_count_all / old_count_all) * 100.0 return 0.0 @staticmethod