Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Jan 8, 2024
1 parent fb80195 commit 2d7882b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/src/validate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ pub fn validate_store(
resource_count += 1;

if fetch_items {
match crate::client::fetch_resource(subject, store, store.get_default_agent().ok()) {
match crate::client::fetch_resource(
subject,
store,
store.get_default_agent().ok().as_ref(),
) {
Ok(_) => {}
Err(e) => unfetchable.push((subject.clone(), e.to_string())),
}
Expand Down

0 comments on commit 2d7882b

Please sign in to comment.