summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-06-21 19:08:35 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-06-21 19:08:35 +0200
commitf855b9013e6d4c7cf1cf6eb6c03884593decce3b (patch)
tree4a67ab85006302a85e65de1c5da4d3777a25bee4 /src
parentef2f3f83ac55f8626414b36c97ee5b5208818df0 (diff)
downloadrebel-f855b9013e6d4c7cf1cf6eb6c03884593decce3b.tar
rebel-f855b9013e6d4c7cf1cf6eb6c03884593decce3b.zip
runc: use new() instead of default() to instantiate digest
Diffstat (limited to 'src')
-rw-r--r--src/runner/runc/run.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runner/runc/run.rs b/src/runner/runc/run.rs
index 9eb5bc0..99396a0 100644
--- a/src/runner/runc/run.rs
+++ b/src/runner/runc/run.rs
@@ -75,7 +75,7 @@ fn collect_output(task: TaskRef, task_def: TaskDef) -> Result<OutputHash, io::Er
Some(unshare::BUILD_UID),
Some(unshare::BUILD_GID),
)?;
- let hasher = OutputHasher::default();
+ let hasher = OutputHasher::new();
let writer = TeeWriter::new(file, hasher);
let writer = util::tar::pack(writer, "build/tmp/runc/workdir", task_def.output.iter())?;