Skip to content

Commit

Permalink
fix another v2Beta1 instance
Browse files Browse the repository at this point in the history
  • Loading branch information
akodali18 committed Mar 20, 2024
1 parent 5e041af commit f2e8d05
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 @@ -41,7 +41,7 @@ func StartHPAListener(client kubernetes.Interface, addFunc, deleteFunc RuleHandl
func (l *hpaListener) listen() {
log.Info("listening for HPA instances")

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

Expand Down

0 comments on commit f2e8d05

Please sign in to comment.