summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-11-06 18:02:51 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-11-07 14:53:15 +0100
commit8067cd1fa454fea53bde88bf19797b4500838aed (patch)
treea66a34475d7772d9612f3fb1a2b4537f1c51ac12
parent3cbe9d1fc63ee1f15e32d31f55c23c2bb061ffeb (diff)
Fix: No need in registering the resulting paths
They are already registered when the result-TARs are unpacked. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--src/orchestrator/orchestrator.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/orchestrator/orchestrator.rs b/src/orchestrator/orchestrator.rs
index 2005f6b..04acd4b 100644
--- a/src/orchestrator/orchestrator.rs
+++ b/src/orchestrator/orchestrator.rs
@@ -116,19 +116,6 @@ impl Orchestrator {
}
}
}
-
- { // register all written paths to the store
- let mut staging_store_lock = self.staging_store
- .write()
- .map_err(|_| anyhow!("Lock Poisoned"))?;
-
- trace!("Loading results into staging store");
- for path in results.iter() {
- trace!("Loading path: {}", path.display());
- staging_store_lock.load_from_path(&path)
- .context("Loading artifacts into staging store")?;
- }
- }
}
Ok(())