From e47573a20277e52cc9d7dadd653413bc24d403e6 Mon Sep 17 00:00:00 2001 From: Hugo Amalric Date: Mon, 2 May 2022 03:19:55 +0200 Subject: [PATCH] kaps: delete unused file --- container/src/cgroups.rs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 container/src/cgroups.rs diff --git a/container/src/cgroups.rs b/container/src/cgroups.rs deleted file mode 100644 index 542dcdd..0000000 --- a/container/src/cgroups.rs +++ /dev/null @@ -1,19 +0,0 @@ - -/*pub struct Cgroups { - cgroup: Cgroup, - resources: Resources, -} - -impl Cgroups { - pub fn new() -> Self { - - } - - pub fn set_cpus(&mut self, cpus: u64) { - self.resources - .cpu - .attrs - .insert("cgroup.procs".to_string(), cpus.to_string()); - self.cgroup.apply(&self.resources).unwrap(); - } -}*/