-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(backup): Improve DateUpdatedComparator (#53762)
This comparator had a (granted, unlikely in practice) bug where it would crash if only one of the two models had the field in question set. The new setup tests for field existence before attempting the comparison logic, and always returns a list of comparators (empty on success, filled with findings on failure) rather than using the more confusing union type like before. Issue: getsentry/team-ospo#157
- Loading branch information
1 parent
0e7192c
commit d6793dd
Showing
2 changed files
with
117 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters