summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-store/src/retrieve.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/core/imag-store/src/retrieve.rs')
-rw-r--r--bin/core/imag-store/src/retrieve.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/core/imag-store/src/retrieve.rs b/bin/core/imag-store/src/retrieve.rs
index e1fafce8..b359a3c4 100644
--- a/bin/core/imag-store/src/retrieve.rs
+++ b/bin/core/imag-store/src/retrieve.rs
@@ -37,8 +37,7 @@ pub fn retrieve(rt: &Runtime) {
// unwrap() is safe as arg is required
let id = scmd.value_of("id").unwrap();
let path = PathBuf::from(id);
- 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);
rt.store()