fix router update bug

This commit is contained in:
Jeff
2019-05-13 13:53:40 +08:00
committed by zryfish
parent 5462f51e65
commit 89f54da60a
5 changed files with 216 additions and 97 deletions

View File

@@ -18,7 +18,9 @@
package controller
import "kubesphere.io/kubesphere/pkg/controller/namespace"
func init() {
// AddToManagerFuncs is a list of functions to create controllers and add them to a manager.
//AddToManagerFuncs = append(AddToManagerFuncs, namespace.Add)
AddToManagerFuncs = append(AddToManagerFuncs, namespace.Add)
}

View File

@@ -21,9 +21,6 @@ import (
)
func init() {
// AddToManagerFuncs is a list of functions to create controllers and add them to a manager.
//AddToManagerFuncs = append(AddToManagerFuncs, strategy.Add)
// Add application to manager functions
AddToManagerFuncs = append(AddToManagerFuncs, application.Add)

View File

@@ -18,7 +18,9 @@
package controller
import "kubesphere.io/kubesphere/pkg/controller/workspace"
func init() {
// AddToManagerFuncs is a list of functions to create controllers and add them to a manager.
//AddToManagerFuncs = append(AddToManagerFuncs, workspace.Add)
AddToManagerFuncs = append(AddToManagerFuncs, workspace.Add)
}