From f39d7dad9bd533a205ff5e2094615aa22a3f2d1f 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 Signed-off-by: Wu Song --- 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, }, })