summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-store/src/update.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/core/imag-store/src/update.rs')
-rw-r--r--bin/core/imag-store/src/update.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/core/imag-store/src/update.rs b/bin/core/imag-store/src/update.rs
index 8f2479fd..c1e2eecc 100644
--- a/bin/core/imag-store/src/update.rs
+++ b/bin/core/imag-store/src/update.rs
@@ -21,7 +21,6 @@ use std::ops::DerefMut;
use std::path::PathBuf;
use failure::Fallible as Result;
-use failure::Error;
use libimagrt::runtime::Runtime;
use libimagstore::storeid::StoreId;
@@ -49,7 +48,7 @@ pub fn update(rt: &Runtime) -> Result<()> {
debug!("New header set");
}
- rt.report_touched(locked_e.get_location()).map_err(Error::from)
+ rt.report_touched(locked_e.get_location())
})
}