Add a warning log, event and metric for cgroup version 1
Signed-off-by: Harshal Patil <harpatil@redhat.com>
This commit is contained in:
@@ -48,6 +48,11 @@ func NewCgroupV1Manager(cs *CgroupSubsystems, cgroupDriver string) CgroupManager
|
||||
}
|
||||
}
|
||||
|
||||
// Version of the cgroup implementation on the host
|
||||
func (c *cgroupV1impl) Version() int {
|
||||
return 1
|
||||
}
|
||||
|
||||
// Validate checks if all subsystem cgroups are valid
|
||||
func (c *cgroupV1impl) Validate(name CgroupName) error {
|
||||
// Get map of all cgroup paths on the system for the particular cgroup
|
||||
|
Reference in New Issue
Block a user