Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
  • Loading branch information
JasonYangShadow committed May 24, 2024
1 parent 784cc3d commit 4660fc9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/pkg/runtime/launch/launcher_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,6 @@ func (l *Launcher) setCgroups(instanceName string) error {
}

hidePid := hidepidProc()

// If we are an instance, always use a cgroup if possible, to enable stats.
useCG := l.uid == 0 && !l.cfg.Namespaces.User
// non-root needs cgroups v2 unified mode + systemd as cgroups manager.
Expand Down

0 comments on commit 4660fc9

Please sign in to comment.