fix websocket bug (#2058)

This commit is contained in:
zryfish
2020-05-12 15:31:13 +08:00
committed by GitHub
parent f34a4e1c2a
commit dcd341e70f
2 changed files with 28 additions and 3 deletions

View File

@@ -290,7 +290,7 @@ func prepare() Interface {
k8sClient := fakek8s.NewSimpleClientset()
istioClient := fakeistio.NewSimpleClientset()
appClient := fakeapp.NewSimpleClientset()
fakeInformerFactory := informers.NewInformerFactories(k8sClient, ksClient, istioClient, appClient)
fakeInformerFactory := informers.NewInformerFactories(k8sClient, ksClient, istioClient, appClient, nil, nil)
for _, workspace := range workspaces {
fakeInformerFactory.KubeSphereSharedInformerFactory().Tenant().V1alpha1().