Skip to content

Commit

Permalink
Just in case there is left over use of 'snapshot' as the journaling_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tcpan committed Dec 4, 2024
1 parent 6d7e88a commit 03296a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chorus_upload/local_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def _update_journal(root: FileSystemHelper, modalities: list[str],
all_del_args.append(("OUTDATED", v[0]))
if verbose:
print("INFO: OUTDATED ", relpath)
elif (journaling_mode == "full"):
elif (journaling_mode == "full") or (journaling_mode == "snapshot"):
all_del_args.append(("DELETED", v[0]))
if verbose:
print("INFO: DELETED ", relpath)
Expand Down

0 comments on commit 03296a5

Please sign in to comment.