Skip to content

Commit

Permalink
Merge pull request #63 from astropy/object_id
Browse files Browse the repository at this point in the history
`expire_old_records`: replace `objectID` with `object_id`
  • Loading branch information
jeffjennings authored Feb 6, 2025
2 parents 25ad4c9 + 0b0b1e8 commit 6e6717a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions astropylibrarian/workflows/expirerecords.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ async def expire_old_records(
if r.index_epoch == index_epoch:
logger.warning("index_epoch matches current epoch: %s", r.index_epoch)
continue
old_object_ids.append(r.objectID)
old_object_ids.append(r.object_id)

logger.info(
"Collected %d old objectIDs for deletion, for %s",
"Collected %d old object_id for deletion, for %s",
len(old_object_ids),
root_url,
)
Expand Down

0 comments on commit 6e6717a

Please sign in to comment.