summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/job/runnable.rs2
-rw-r--r--src/orchestrator/orchestrator.rs3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/job/runnable.rs b/src/job/runnable.rs
index 7bfabae..f91de5b 100644
--- a/src/job/runnable.rs
+++ b/src/job/runnable.rs
@@ -52,7 +52,7 @@ pub struct RunnableJob {
}
impl RunnableJob {
- pub async fn build_from_job(
+ pub fn build_from_job(
job: &Job,
source_cache: &SourceCache,
config: &Configuration,
diff --git a/src/orchestrator/orchestrator.rs b/src/orchestrator/orchestrator.rs
index b99767e..7220c9a 100644
--- a/src/orchestrator/orchestrator.rs
+++ b/src/orchestrator/orchestrator.rs
@@ -460,8 +460,7 @@ impl<'a> JobTask<'a> {
&self.jobdef.job,
self.source_cache,
self.config,
- dependency_artifacts)
- .await?;
+ dependency_artifacts)?;
self.bar.set_message(&format!("[{} {} {}]: Scheduling...",
self.uuid,