Skip to content

Commit

Permalink
Revert "fixup! Get metadata from inner stat metadata"
Browse files Browse the repository at this point in the history
This reverts commit 9d737a4.
  • Loading branch information
erickguan committed Nov 5, 2024
1 parent 9d737a4 commit 2a0e5c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/types/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,8 @@ impl Metadata {
pub fn last_modified(&self) -> Option<DateTime<Utc>> {
#[cfg(feature = "tests")]
debug_assert!(
self.metakey.contains(Metakey::LastModified),
self.metakey.contains(Metakey::LastModified)
|| self.metakey.contains(Metakey::Complete),
"visiting not set metadata: last_modified, maybe a bug"
);

Expand Down

0 comments on commit 2a0e5c4

Please sign in to comment.