From eaf8148cda4cad4368a87ff8f763d9a03ab4ae50 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 30 Apr 2018 19:24:05 +0200 Subject: [PATCH] Refactor imag-ids to fit new store iterator interface --- bin/core/imag-ids/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/core/imag-ids/src/main.rs b/bin/core/imag-ids/src/main.rs index 08beb465..240a03ea 100644 --- a/bin/core/imag-ids/src/main.rs +++ b/bin/core/imag-ids/src/main.rs @@ -45,6 +45,7 @@ use filters::filter::Filter; use libimagrt::setup::generate_runtime_setup; use libimagerror::trace::MapErrTrace; +use libimagerror::iter::TraceIterator; use libimagerror::exit::ExitUnwrap; use libimagerror::io::ToExitCode; use libimagstore::storeid::StoreId; @@ -86,6 +87,7 @@ fn main() { rt.store() .entries() .map_err_trace_exit_unwrap(1) + .trace_unwrap_exit(1) .filter(|id| collection_filter.filter(id)) .map(|id| if print_storepath { id