mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
+1
-1
@@ -17,7 +17,7 @@ fn test_devices_parsing() {
|
||||
}
|
||||
|
||||
let h = cgroups::hierarchies::auto();
|
||||
let cg = Cgroup::new(&*h, String::from("test_devices_parsing"));
|
||||
let cg = Cgroup::new(h, String::from("test_devices_parsing"));
|
||||
{
|
||||
let devices: &DevicesController = cg.controller_of().unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user