mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +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.serviceListerSynced = alwaysReady
|
||||||
controller.eventRecorder = record.NewFakeRecorder(100)
|
controller.eventRecorder = record.NewFakeRecorder(100)
|
||||||
|
|
||||||
controller.init()
|
|
||||||
cloud.Calls = nil // ignore any cloud calls made in init()
|
cloud.Calls = nil // ignore any cloud calls made in init()
|
||||||
client.ClearActions() // ignore any client calls made in init()
|
client.ClearActions() // ignore any client calls made in init()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user