Skip to content

Commit 46afada

Browse files
style: clean up comments
1 parent d2df308 commit 46afada

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

policy/handler.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,10 +417,9 @@ func (h *Handler) applyMutators(p *sdk.ScalingPolicy) {
417417
}
418418
}
419419

420-
// calculateHorizontalNewCount is the main part of the controller, it
420+
// calculateNewCount is the main part of the controller, it
421421
// 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.
422+
// and generates a scaling action if needed
424423
func (h *Handler) calculateNewCount(ctx context.Context, currentCount int64) (sdk.ScalingAction, error) {
425424
h.log.Debug("received policy for evaluation")
426425

0 commit comments

Comments
 (0)