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 c6830a42..8b6cc2e2 100644
--- a/bin/core/imag-store/src/create.rs
+++ b/bin/core/imag-store/src/create.rs
@@ -44,8 +44,7 @@ pub fn create(rt: &Runtime) {
// unwrap is safe as value is required
let path = scmd.value_of("path").unwrap();
let path = PathBuf::from(path);
- let store = Some(rt.store().path().clone());
- let path = StoreId::new(store, path).map_err_trace_exit_unwrap();
+ let path = StoreId::new(path).map_err_trace_exit_unwrap();
debug!("path = {:?}", path);