Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
akodali18 committed Mar 20, 2024
1 parent ee55535 commit 5e041af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/hpa.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (l *hpaListener) listen() {

rc := l.kubeClient.AutoscalingV2beta1().RESTClient()
lw := cache.NewListWatchFromClient(rc, "horizontalpodautoscalers", v1.NamespaceAll, fields.Everything())
inf := cache.NewSharedInformer(lw, &v2beta1.HorizontalPodAutoscaler{}, 0)
inf := cache.NewSharedInformer(lw, &v2beta2.HorizontalPodAutoscaler{}, 0)

inf.AddEventHandler(cache.ResourceEventHandlerFuncs{
AddFunc: func(obj interface{}) {
Expand Down

0 comments on commit 5e041af

Please sign in to comment.