mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-01 05:04:26 +00:00
agent: Clean up commented use declarations
There are some commented use declarations, removed them all. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
5fe5b3212f
commit
14e7042cf6
@ -16,7 +16,6 @@ use std::thread::{self};
|
|||||||
use crate::mount::{BareMount, FLAGS};
|
use crate::mount::{BareMount, FLAGS};
|
||||||
use slog::Logger;
|
use slog::Logger;
|
||||||
|
|
||||||
//use container::Process;
|
|
||||||
const PERSISTENT_NS_DIR: &str = "/var/run/sandbox-ns";
|
const PERSISTENT_NS_DIR: &str = "/var/run/sandbox-ns";
|
||||||
pub const NSTYPEIPC: &str = "ipc";
|
pub const NSTYPEIPC: &str = "ipc";
|
||||||
pub const NSTYPEUTS: &str = "uts";
|
pub const NSTYPEUTS: &str = "uts";
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
//use crate::container::Container;
|
|
||||||
use crate::linux_abi::*;
|
use crate::linux_abi::*;
|
||||||
use crate::mount::{get_mount_fs_type, remove_mounts, TYPEROOTFS};
|
use crate::mount::{get_mount_fs_type, remove_mounts, TYPEROOTFS};
|
||||||
use crate::namespace::Namespace;
|
use crate::namespace::Namespace;
|
||||||
@ -412,7 +411,6 @@ fn online_memory(logger: &Logger) -> Result<()> {
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
//use rustjail::Error;
|
|
||||||
use super::Sandbox;
|
use super::Sandbox;
|
||||||
use crate::{mount::BareMount, skip_if_not_root};
|
use crate::{mount::BareMount, skip_if_not_root};
|
||||||
use anyhow::Error;
|
use anyhow::Error;
|
||||||
|
Loading…
Reference in New Issue
Block a user