mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
fed: Rename 'secret' controller package to 'sync'
This commit is contained in:
@@ -21,7 +21,7 @@ import (
|
||||
|
||||
restclient "k8s.io/client-go/rest"
|
||||
"k8s.io/kubernetes/federation/pkg/federatedtypes"
|
||||
secretcontroller "k8s.io/kubernetes/federation/pkg/federation-controller/secret"
|
||||
synccontroller "k8s.io/kubernetes/federation/pkg/federation-controller/sync"
|
||||
)
|
||||
|
||||
// ControllerFixture manages a federation controller for testing.
|
||||
@@ -34,8 +34,7 @@ func NewControllerFixture(t *testing.T, kind string, adapterFactory federatedtyp
|
||||
f := &ControllerFixture{
|
||||
stopChan: make(chan struct{}),
|
||||
}
|
||||
// TODO the generic controller doesn't belong in the secretcontroller package
|
||||
secretcontroller.StartFederationSyncController(kind, adapterFactory, config, f.stopChan, true)
|
||||
synccontroller.StartFederationSyncController(kind, adapterFactory, config, f.stopChan, true)
|
||||
return f
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user