Skip to content

Commit

Permalink
Merge pull request #2040 from desihub/purge-dry-run
Browse files Browse the repository at this point in the history
warn that purge_night was a dry run
  • Loading branch information
sbailey committed May 10, 2023
2 parents 6df1f88 + 633c3a3 commit 751f3fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/desi_purge_night
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@ if __name__ == '__main__':

log.info(f"Done purging {specprod} night {night}")

if dry_run:
log.warning('That was a dry run with no files removed; rerun with --not-dry-run to actually remove files')

0 comments on commit 751f3fd

Please sign in to comment.