summaryrefslogtreecommitdiffstats
path: root/bin/core
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-02-11 22:47:44 +0100
committerMatthias Beyer <mail@beyermatthias.de>2019-02-15 20:53:29 +0100
commit1bbd2173b7d238a7a8b74a0880b869050144e0c6 (patch)
tree33c1bfebf5382337f4f8e777aa22b232fe2af113 /bin/core
parent5fe139e02ba26f5d0026797b3a028642c2ee1fa9 (diff)
Fix for new StoreId::new() interface
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'bin/core')
-rw-r--r--bin/core/imag-link/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/core/imag-link/src/main.rs b/bin/core/imag-link/src/main.rs
index 8f899d10..cfd2c4fe 100644
--- a/bin/core/imag-link/src/main.rs
+++ b/bin/core/imag-link/src/main.rs
@@ -132,8 +132,7 @@ fn get_entry_by_name<'a>(rt: &'a Runtime, name: &str) -> Result<Option<FileLockE
use libimagstore::storeid::StoreId;
debug!("Getting: {:?}", name);
- let result = StoreId::new(Some(rt.store().path().clone()), PathBuf::from(name))
- .and_then(|id| rt.store().get(id));
+ let result = StoreId::new(PathBuf::from(name)).and_then(|id| rt.store().get(id));
debug!(" => : {:?}", result);
result