Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed May 31, 2024
1 parent d3e4670 commit 38a60ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ingestion_server/ingestion_server/cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

from ingestion_server.db_helpers import database_connect
from ingestion_server.indexer import DB_BUFFER_SIZE
from ingestion_server.strings import decode_data, deduplicate_tags
from ingestion_server.strings import decode_data


# Number of records to buffer in memory at once
Expand Down Expand Up @@ -161,7 +161,7 @@ def cleanup_tags(tags):
tag["name"] = decoded_tag_name
tag_output.append(tag)

deduplicated_tags = deduplicate_tags(tag_output)
deduplicated_tags = CleanupFunctions.deduplicate_tags(tag_output)
if len(deduplicated_tags) != len(tag_output):
update_required = True
tag_output = deduplicated_tags
Expand Down

0 comments on commit 38a60ad

Please sign in to comment.