diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-22 19:20:33 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-22 19:20:33 +0200 |
commit | 04759a7bd14f6aa23ba3339cd791be17ca388ecf (patch) | |
tree | 74e19ab7f9ccb60f3f8b3118b04431aaf0fbec6b /src/executor.rs | |
parent | 81929ee392c44a6bbaa082d228d44e3abbe8d7e2 (diff) | |
download | rebel-04759a7bd14f6aa23ba3339cd791be17ca388ecf.tar rebel-04759a7bd14f6aa23ba3339cd791be17ca388ecf.zip |
Extend TaskRef with alternative Display format
Diffstat (limited to 'src/executor.rs')
-rw-r--r-- | src/executor.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/executor.rs b/src/executor.rs index 306127c..333a05c 100644 --- a/src/executor.rs +++ b/src/executor.rs @@ -192,11 +192,7 @@ impl<'ctx> Executor<'ctx> { fs::mkdir(&state_dir)?; let task = runner::Task { - label: format!( - "{}{}", - task_ref.id, - serde_json::to_string(&task_ref.args).unwrap() - ), + label: format!("{:#}", task_ref,), input, input_hash, }; |