This commit is contained in:
yarntime@163.com 2016-12-08 09:56:01 +08:00
parent bc28aeb8ef
commit c747586b07
4 changed files with 4 additions and 4 deletions

View File

@ -125,7 +125,7 @@ func NewConfigMapController(client federationclientset.Interface) *ConfigMapCont
&apiv1.ConfigMap{},
controller.NoResyncPeriodFunc(),
// Trigger reconciliation whenever something in federated cluster is changed. In most cases it
// would be just confirmation that some configmap opration succeeded.
// would be just confirmation that some configmap operation succeeded.
util.NewTriggerOnAllChanges(
func(obj pkgruntime.Object) {
configmapcontroller.deliverConfigMapObj(obj, configmapcontroller.configmapReviewDelay, false)

View File

@ -133,7 +133,7 @@ func NewDaemonSetController(client federationclientset.Interface) *DaemonSetCont
&extensionsv1.DaemonSet{},
controller.NoResyncPeriodFunc(),
// Trigger reconciliation whenever something in federated cluster is changed. In most cases it
// would be just confirmation that some daemonset opration succeeded.
// would be just confirmation that some daemonset operation succeeded.
util.NewTriggerOnAllChanges(
func(obj pkgruntime.Object) {
daemonsetcontroller.deliverDaemonSetObj(obj, daemonsetcontroller.daemonsetReviewDelay, false)

View File

@ -130,7 +130,7 @@ func NewNamespaceController(client federationclientset.Interface) *NamespaceCont
&apiv1.Namespace{},
controller.NoResyncPeriodFunc(),
// Trigger reconciliation whenever something in federated cluster is changed. In most cases it
// would be just confirmation that some namespace opration succeeded.
// would be just confirmation that some namespace operation succeeded.
util.NewTriggerOnMetaAndSpecChanges(
func(obj runtime.Object) { nc.deliverNamespaceObj(obj, nc.namespaceReviewDelay, false) },
))

View File

@ -131,7 +131,7 @@ func NewSecretController(client federationclientset.Interface) *SecretController
&apiv1.Secret{},
controller.NoResyncPeriodFunc(),
// Trigger reconciliation whenever something in federated cluster is changed. In most cases it
// would be just confirmation that some secret opration succeeded.
// would be just confirmation that some secret operation succeeded.
util.NewTriggerOnAllChanges(
func(obj pkgruntime.Object) {
secretcontroller.deliverSecretObj(obj, secretcontroller.secretReviewDelay, false)