From cd8675857217e9bbe4aac99711f8c406107abf50 Mon Sep 17 00:00:00 2001 From: wusong Date: Tue, 4 Jan 2022 22:41:56 +0800 Subject: [PATCH] update readme for cpu cgroup demo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fc2c7a9b..eccb9d98 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ uses the v1 implementation of cgroups. ```go shares := uint64(100) control, err := cgroups.New(cgroups.V1, cgroups.StaticPath("/test"), &specs.LinuxResources{ - CPU: &specs.CPU{ + CPU: &specs.LinuxCPU{ Shares: &shares, }, })