summaryrefslogtreecommitdiffstats
path: root/src/orchestrator/orchestrator.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/orchestrator/orchestrator.rs')
-rw-r--r--src/orchestrator/orchestrator.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/orchestrator/orchestrator.rs b/src/orchestrator/orchestrator.rs
index ecd994a..de2f82f 100644
--- a/src/orchestrator/orchestrator.rs
+++ b/src/orchestrator/orchestrator.rs
@@ -233,11 +233,14 @@ impl<'a> Orchestrator<'a> {
let (sender, receiver) = tokio::sync::mpsc::channel(100);
trace!("Creating TaskPreparation object for job {}", uuid);
+ let bar = self.progress_generator.bar();
+ let bar = multibar.add(bar);
+ bar.set_length(100);
let tp = TaskPreparation {
uuid: *uuid,
jobdef,
- bar: multibar.add(self.progress_generator.bar()),
+ bar,
config: self.config,
source_cache: &self.source_cache,
scheduler: &self.scheduler,