diff --git a/src/container/builder_impl.rs b/src/container/builder_impl.rs index 975b138ee4..c36b0bf21e 100644 --- a/src/container/builder_impl.rs +++ b/src/container/builder_impl.rs @@ -175,9 +175,7 @@ fn container_init(args: ContainerInitArgs) -> Result<()> { // set limits and namespaces to the process for rlimit in spec.process.rlimits.iter() { - command - .set_rlimit(rlimit) - .context("failed to set rlimit")?; + command.set_rlimit(rlimit).context("failed to set rlimit")?; } command