From 84b7bacb3e596cabfe7e55e091c5e28efcf6094d Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Thu, 19 Sep 2024 16:53:47 +0200 Subject: [PATCH] Update function doc Signed-off-by: Matthias Wessendorf --- pkg/reconciler/common/hpa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/reconciler/common/hpa.go b/pkg/reconciler/common/hpa.go index 4b6271ace..09518fb99 100644 --- a/pkg/reconciler/common/hpa.go +++ b/pkg/reconciler/common/hpa.go @@ -21,7 +21,7 @@ import ( "k8s.io/apimachinery/pkg/util/sets" ) -// When a Podspecable has HPA o, the replicas should be controlled by HPAs minReplicas instead of operator. +// When a Podspecable has HPA or a custom autoscaling, the replicas should be controlled by it instead of operator. // Hence, skip changing the spec.replicas for these Podspecables. func hasHorizontalPodOrCustomAutoscaler(name string) bool { return sets.NewString(