WIP interface with existing code

This commit is contained in:
Dominik Werder
2021-07-12 13:19:12 +02:00
parent 35f3f9249e
commit 9509b43848
3 changed files with 186 additions and 40 deletions

View File

@@ -340,7 +340,7 @@ pub async fn scan_files_inner(
let ndi = dbconn::scan::get_node_disk_ident(&node_config, &dbc).await?;
let mut paths = VecDeque::new();
paths.push_back(
aa.data_base_path.join(
aa.data_base_paths.first().unwrap().join(
pairs
.get("subpath")
.ok_or_else(|| Error::with_msg("subpatch not given"))?,