Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: yihuaf <yihuaf@unkies.org>
  • Loading branch information
yihuaf committed May 14, 2023
1 parent 6579e50 commit 76e7be2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/libcontainer/src/process/container_main_process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ pub enum ProcessError {
SetGroupsDeny(#[source] std::io::Error),
#[error(transparent)]
Rootless(#[from] crate::rootless::RootlessError),
#[error("failed seccomp listener")]
SeccompListener(#[from] crate::process::seccomp_listener::SeccompListenerError),
#[error("container state is required")]
ContainerStateRequired,
#[error("failed to wait for intermediate process")]
Expand All @@ -27,6 +25,9 @@ pub enum ProcessError {
IntelRdt(#[from] crate::process::intel_rdt::IntelRdtError),
#[error("failed to create intermediate process")]
IntermediateProcessFailed(#[source] fork::CloneError),
#[error("failed seccomp listener")]
#[cfg(feature = "libseccomp")]
SeccompListener(#[from] crate::process::seccomp_listener::SeccompListenerError),
}

type Result<T> = std::result::Result<T, ProcessError>;
Expand Down

0 comments on commit 76e7be2

Please sign in to comment.