diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-11-06 18:02:51 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-11-07 14:53:15 +0100 |
commit | 8067cd1fa454fea53bde88bf19797b4500838aed (patch) | |
tree | a66a34475d7772d9612f3fb1a2b4537f1c51ac12 | |
parent | 3cbe9d1fc63ee1f15e32d31f55c23c2bb061ffeb (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.rs | 13 |
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(()) |