Merge pull request #36455 from dims/fix-issue-36454

Automatic merge from submit-queue

Fix build break

Problem introduced in #31996

Fixes #36454
pull/6/head
Kubernetes Submit Queue 2016-11-09 10:41:54 -08:00 committed by GitHub
commit 06fa13efd1
2 changed files with 2 additions and 2 deletions

View File

@ -59,6 +59,6 @@ func (cm *unsupportedContainerManager) NewPodContainerManager() PodContainerMana
return &unsupportedPodContainerManager{}
}
func NewContainerManager(_ mount.Interface, _ cadvisor.Interface, _ NodeConfig) (ContainerManager, error) {
func NewContainerManager(_ mount.Interface, _ cadvisor.Interface, _ NodeConfig, failSwapOn bool) (ContainerManager, error) {
return &unsupportedContainerManager{}, nil
}

View File

@ -37,6 +37,6 @@ func (cm *containerManagerImpl) Start(_ *api.Node) error {
return nil
}
func NewContainerManager(mountUtil mount.Interface, cadvisorInterface cadvisor.Interface, nodeConfig NodeConfig) (ContainerManager, error) {
func NewContainerManager(mountUtil mount.Interface, cadvisorInterface cadvisor.Interface, nodeConfig NodeConfig, failSwapOn bool) (ContainerManager, error) {
return &containerManagerImpl{}, nil
}