Skip to content

Commit

Permalink
chore: fix checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Jan 10, 2024
1 parent ca1a9ab commit 5cfd941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csaf/src/source/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::{
},
retrieve::{RetrievalMetadata, RetrievedAdvisory},
source::Source,
visitors::store::{ATTR_ETAG, DIR_METADATA},
visitors::store::DIR_METADATA,
};
use anyhow::{anyhow, Context};
use async_trait::async_trait;
Expand Down Expand Up @@ -222,7 +222,7 @@ impl Source for FileSource {
.map(OffsetDateTime::from);

#[cfg(any(target_os = "linux", target_os = "macos"))]
let etag = xattr::get(&path, ATTR_ETAG)
let etag = xattr::get(&path, crate::visitors::store::ATTR_ETAG)
.transpose()
.and_then(|r| r.ok())
.and_then(|s| String::from_utf8(s).ok());
Expand Down

0 comments on commit 5cfd941

Please sign in to comment.