Skip to content

Commit c34ca40

Browse files
committed
feat(lifecycle Sleep): Cleanup comments
1 parent d3b8ed1 commit c34ca40

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

controller.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ func NewListWatch(client *webhookclient.Clientset) *bindingAggregator {
2323
binder := &bindingAggregator{}
2424
watcher := cache.NewListWatchFromClient(client.VaultwebhookV1alpha1().RESTClient(), "databasecredentialbindings", "", fields.Everything())
2525

26-
//binder.store, binder.controller = cache.NewIndexerInformer(watcher, &v1alpha1.DatabaseCredentialBinding{}, time.Minute, binder, cache.Indexers{})
27-
28-
/*
29-
- https://pkg.go.dev/k8s.io/client-go/tools/cache#InformerOptions
30-
- Deprecated resource reference: https://pkg.go.dev/k8s.io/client-go/tools/cache#NewIndexerInformer
31-
*/
3226
informerOptions := cache.InformerOptions{
3327
ListerWatcher: watcher,
3428
ObjectType: &v1alpha1.DatabaseCredentialBinding{},

0 commit comments

Comments
 (0)