Skip to content

Commit 2eec97c

Browse files
committed
Remove dead code.
1 parent 99dd6c1 commit 2eec97c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pkg/deployment/informers.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -201,19 +201,6 @@ func (d *Deployment) listenForServiceEvents(stopCh <-chan struct{}) {
201201

202202
// listenForCRDEvents keep listening for changes in CRDs until the given channel is closed.
203203
func (d *Deployment) listenForCRDEvents(stopCh <-chan struct{}) {
204-
//getCRD := func(obj interface{}) (*v1beta1.CustomResourceDefinition, bool) {
205-
// crd, ok := obj.(*v1beta1.CustomResourceDefinition)
206-
// if !ok {
207-
// tombstone, ok := obj.(cache.DeletedFinalStateUnknown)
208-
// if !ok {
209-
// return nil, false
210-
// }
211-
// crd, ok = tombstone.Obj.(*v1beta1.CustomResourceDefinition)
212-
// return crd, ok
213-
// }
214-
// return crd, true
215-
// }
216-
217204
rw := k8sutil.NewResourceWatcher(
218205
d.deps.Log,
219206
d.deps.KubeExtCli.ApiextensionsV1beta1().RESTClient(),

0 commit comments

Comments
 (0)