mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-03 22:17:35 +00:00
agent: Remove unused import in console test
Remove some unused imports in console test module used by runk's test. Fixes: #4351 Signed-off-by: Manabu Sugimoto <Manabu.Sugimoto@sony.com>
This commit is contained in:
parent
96c8df40b5
commit
6dbce7c3de
@ -58,10 +58,7 @@ pub fn setup_master_console(socket_fd: RawFd) -> Result<()> {
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::skip_if_not_root;
|
|
||||||
use std::fs::File;
|
|
||||||
use std::os::unix::net::UnixListener;
|
use std::os::unix::net::UnixListener;
|
||||||
use std::path::PathBuf;
|
|
||||||
use tempfile::{self, tempdir};
|
use tempfile::{self, tempdir};
|
||||||
|
|
||||||
const CONSOLE_SOCKET: &str = "console-socket";
|
const CONSOLE_SOCKET: &str = "console-socket";
|
||||||
|
Loading…
Reference in New Issue
Block a user