We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2df308 commit 46afadaCopy full SHA for 46afada
policy/handler.go
@@ -417,10 +417,9 @@ func (h *Handler) applyMutators(p *sdk.ScalingPolicy) {
417
}
418
419
420
-// calculateHorizontalNewCount is the main part of the controller, it
+// calculateNewCount is the main part of the controller, it
421
// gets the metrics and the necessary new count to keep up with the policy
422
-// and generates a scaling action if needed, but only for horizontal policies:
423
-// horizontal app and horizontal cluster scaling policies.
+// and generates a scaling action if needed
424
func (h *Handler) calculateNewCount(ctx context.Context, currentCount int64) (sdk.ScalingAction, error) {
425
h.log.Debug("received policy for evaluation")
426
0 commit comments