summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-store/src/create.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/core/imag-store/src/create.rs')
-rw-r--r--bin/core/imag-store/src/create.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/core/imag-store/src/create.rs b/bin/core/imag-store/src/create.rs
index a8989a28..3bb5681e 100644
--- a/bin/core/imag-store/src/create.rs
+++ b/bin/core/imag-store/src/create.rs
@@ -26,7 +26,6 @@ use std::io::Read;
use clap::ArgMatches;
use toml::Value;
use failure::Fallible as Result;
-use failure::Error;
use failure::err_msg;
use libimagrt::runtime::Runtime;
@@ -59,7 +58,7 @@ pub fn create(rt: &Runtime) -> Result<()> {
create_with_content_and_header(rt, &path, String::new(), Entry::default_header())?;
}
- rt.report_touched(&path).map_err(Error::from)
+ rt.report_touched(&path)
}
fn create_from_cli_spec(rt: &Runtime, matches: &ArgMatches, path: &StoreId) -> Result<()> {