summaryrefslogtreecommitdiffstats
path: root/src/orchestrator
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-11-13 08:49:32 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-11-13 09:48:56 +0100
commit1bc37935e960c3915fb827dc5b555068555794db (patch)
treed28eb4a3c316c230f1898d7ff143dc65d4cf595d /src/orchestrator
parent6f16b36b5dff94d6a5160e33ebb056f6c128b5d3 (diff)
Rename: JobHandle::get_result() -> JobHandle::run()
This renames the method, because this is way more descriptive of what the method actually does. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/orchestrator')
-rw-r--r--src/orchestrator/orchestrator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/orchestrator/orchestrator.rs b/src/orchestrator/orchestrator.rs
index 5a155d9..a6f5c3b 100644
--- a/src/orchestrator/orchestrator.rs
+++ b/src/orchestrator/orchestrator.rs
@@ -91,7 +91,7 @@ impl Orchestrator {
// clone the bar here, so we can give a handle to the async result fetcher closure
// where we tick() it as soon as the job returns the result (= is finished)
unordered_results.push(async move {
- let r = jobhandle.get_result().await;
+ let r = jobhandle.run().await;
trace!("Found result in job {}: {:?}", job_id, r);
r
});