summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-store/src/update.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-11-23 20:22:31 +0100
committerMatthias Beyer <mail@beyermatthias.de>2019-12-22 19:02:21 +0100
commit0464bfba53255814aadc35d9927c8d0fff2eb00d (patch)
tree1f2f6b26bd37ee639603ac5e3412d05a88b412aa /bin/core/imag-store/src/update.rs
parent84bb05035b51b05734eef44657cffd1fdb2950db (diff)
Remove error conversion which is not necessary anymore.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
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())
})
}