mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #28117 from liggitt/fix-non-linux-compile
Fix reference to linux-only struct
This commit is contained in:
commit
cd9deccbbf
@ -25,7 +25,7 @@ type unsupportedCgroupManager struct{}
|
||||
// Make sure that unsupportedCgroupManager implements the CgroupManager interface
|
||||
var _ CgroupManager = &unsupportedCgroupManager{}
|
||||
|
||||
func NewCgroupManager(_ *cgroupSubsystems) CgroupManager {
|
||||
func NewCgroupManager(_ interface{}) CgroupManager {
|
||||
return &unsupportedCgroupManager{}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user