mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Remove redundant initilization for service controller
This commit is contained in:
parent
5a7b978c74
commit
fa80c0072a
@ -82,7 +82,6 @@ func newController() (*ServiceController, *fakecloud.Cloud, *fake.Clientset) {
|
||||
controller.serviceListerSynced = alwaysReady
|
||||
controller.eventRecorder = record.NewFakeRecorder(100)
|
||||
|
||||
controller.init()
|
||||
cloud.Calls = nil // ignore any cloud calls made in init()
|
||||
client.ClearActions() // ignore any client calls made in init()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user