Skip to content

Commit

Permalink
fix cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuaf committed Jul 30, 2021
1 parent b5dec87 commit ba22d6e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/container/builder_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba22d6e

Please sign in to comment.