Skip to content

Commit

Permalink
Merge pull request #521 from chenkaiyue/cgroup-driver
Browse files Browse the repository at this point in the history
fix cgroup driver name
  • Loading branch information
qmhu committed Aug 23, 2022
2 parents d62dfd3 + 7ccdb90 commit f55447e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ensurance/collector/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const (
func GetCgroupPath(p *v1.Pod, cgroupDriver string) string {
cgroupName := GetCgroupName(p)
switch cgroupDriver {
case "stytemd":
case "systemd":
return cgroupName.ToSystemd()
case "cgroupfs":
return cgroupName.ToCgroupfs()
Expand Down

0 comments on commit f55447e

Please sign in to comment.