Skip to content

Commit

Permalink
fix: ingest logging
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Dec 8, 2023
1 parent 56987af commit 260385f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions chord_drs/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,12 @@ def object_ingest():
candidate_drs_object.data_type == data_type,
candidate_drs_object.public == public,
)):
logger.info(f"Found duplicate DRS object via checksum (will fully deduplicate): {drs_object}")
logger.info(
f"Found duplicate DRS object via checksum (will fully deduplicate): {candidate_drs_object}")
drs_object = candidate_drs_object
else:
logger.info(f"Found duplicate DRS object via checksum (will deduplicate JUST bytes): {drs_object}")
logger.info(
f"Found duplicate DRS object via checksum (will deduplicate JUST bytes): {candidate_drs_object}")
object_to_copy = candidate_drs_object

if not drs_object:
Expand Down

0 comments on commit 260385f

Please sign in to comment.