File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff 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.
203203func (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 (),
You can’t perform that action at this time.
0 commit comments