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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/orchestrator/orchestrator.rs b/src/orchestrator/orchestrator.rs
index 258ae6d..719471f 100644
--- a/src/orchestrator/orchestrator.rs
+++ b/src/orchestrator/orchestrator.rs
@@ -114,7 +114,7 @@ impl<'a> Orchestrator<'a> {
let bar = multibar.add(progress_generator.bar());
async {
- let uuid = runnable.uuid().clone();
+ let uuid = *runnable.uuid();
Self::run_runnable(runnable, scheduler, bar)
.await
.map_err(|e| (uuid, e))
@@ -156,7 +156,7 @@ impl<'a> Orchestrator<'a> {
}
async fn run_runnable(runnable: RunnableJob, scheduler: &EndpointScheduler, bar: indicatif::ProgressBar) -> Result<Vec<Artifact>> {
- let job_id = runnable.uuid().clone();
+ let job_id = *runnable.uuid();
trace!("Runnable {} for package {}", job_id, runnable.package().name());
let jobhandle = scheduler.schedule_job(runnable, bar).await?;