Skip to content

Commit

Permalink
Move cgroup module out from docker
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Apr 18, 2024
1 parent 948a703 commit 09cbf0f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/docker/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ use tokio::signal::unix::{signal, SignalKind};
use tokio::task::{spawn, JoinHandle};
use tokio_stream::StreamExt;

use super::cgroup::{
use super::{IoStream, IoStreamSource};
use crate::cgroup::{
Access, DeviceAccessController, DeviceAccessControllerDummy, DeviceAccessControllerV1,
DeviceAccessControllerV2, DeviceType,
};
use super::{IoStream, IoStreamSource};

#[derive(Clone)]
pub struct Container {
Expand Down
1 change: 0 additions & 1 deletion src/docker/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
mod cgroup;
mod container;
mod docker;
mod iostream;
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
mod cgroup;
mod cli;
mod docker;
mod hotplug;
Expand Down

0 comments on commit 09cbf0f

Please sign in to comment.