diff --git a/src/agent/src/namespace.rs b/src/agent/src/namespace.rs index 838f64fe68..4d0d70d8d7 100644 --- a/src/agent/src/namespace.rs +++ b/src/agent/src/namespace.rs @@ -16,7 +16,6 @@ use std::thread::{self}; use crate::mount::{BareMount, FLAGS}; use slog::Logger; -//use container::Process; const PERSISTENT_NS_DIR: &str = "/var/run/sandbox-ns"; pub const NSTYPEIPC: &str = "ipc"; pub const NSTYPEUTS: &str = "uts"; diff --git a/src/agent/src/sandbox.rs b/src/agent/src/sandbox.rs index 7aa27e8ba8..8d9f7a1b66 100644 --- a/src/agent/src/sandbox.rs +++ b/src/agent/src/sandbox.rs @@ -3,7 +3,6 @@ // SPDX-License-Identifier: Apache-2.0 // -//use crate::container::Container; use crate::linux_abi::*; use crate::mount::{get_mount_fs_type, remove_mounts, TYPEROOTFS}; use crate::namespace::Namespace; @@ -412,7 +411,6 @@ fn online_memory(logger: &Logger) -> Result<()> { #[cfg(test)] mod tests { - //use rustjail::Error; use super::Sandbox; use crate::{mount::BareMount, skip_if_not_root}; use anyhow::Error;