diff --git a/pkg/daemons/agent/agent.go b/pkg/daemons/agent/agent.go index 271b7fcf8a8..d1097ebc8fe 100644 --- a/pkg/daemons/agent/agent.go +++ b/pkg/daemons/agent/agent.go @@ -176,7 +176,7 @@ func addFeatureGate(current, new string) string { return current + "," + new } -func checkCgroups() (kubeletRoot string, runtimeRoot string, hasCFS bool, hasPIDs bool) { +func checkCgroups() (kubeletRoot, runtimeRoot string, hasCFS, hasPIDs bool) { f, err := os.Open("/proc/self/cgroup") if err != nil { return "", "", false, false