Skip to content

Commit

Permalink
fix cgroup driver name
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyuechen committed Aug 23, 2022
1 parent 6a722c0 commit 7ccdb90
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 7ccdb90

Please sign in to comment.