Skip to content

Commit

Permalink
f fix logic bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jrconlin committed Jan 17, 2024
1 parent c7f6323 commit a9a6c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/tokenserver/purge_old_records.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def purge_old_records(secret, grace_period=-1, max_per_loop=10, max_offset=0,
database.delete_user_record(row.uid)
elif not row.downed:
logger.info("Purging uid %s on %s", row.uid, row.node)
if settings and not settings.dryrun:
if settings and settings.dryrun:
pass
else:
delete_service_data(
Expand Down

0 comments on commit a9a6c22

Please sign in to comment.