diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-06-21 23:08:43 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-06-21 23:08:43 +0200 |
commit | b8eb3ef5b0576dd61624c71a510b9a57ee26645c (patch) | |
tree | 37765477810ec761e506699ee7ee2b16c58f02df /src/executor.rs | |
parent | 02551a89625cb9d70e66802ebed86766262cb59f (diff) | |
download | rebel-b8eb3ef5b0576dd61624c71a510b9a57ee26645c.tar rebel-b8eb3ef5b0576dd61624c71a510b9a57ee26645c.zip |
runner: pass around Task instead of TaskID/TaskDef
Diffstat (limited to 'src/executor.rs')
-rw-r--r-- | src/executor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/executor.rs b/src/executor.rs index 639cd62..9af0863 100644 --- a/src/executor.rs +++ b/src/executor.rs @@ -75,7 +75,7 @@ impl<'a> Executor<'a> { let input_hash = StringHash(cjson::digest::<InputHasher, _>(&task)?.into()); - let output_hash = runner.run(self.tasks, &task.id)?; + let output_hash = runner.run(&task)?; let output = TaskOutput { id: task.id.clone(), depends: task.depends, |