Skip to content

Commit b09674c

Browse files
chore: apply suggestions from code review
Co-authored-by: Filip Petkovski <[email protected]>
1 parent 20084df commit b09674c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/store/horizontalpodautoscaler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ func hpaMetricFamilies(allowAnnotationsList, allowLabelsList []string) []generat
185185
}),
186186
),
187187
*generator.NewFamilyGenerator(
188-
"kube_horizontalpodautoscaler_status_current_metric",
189-
"The metric current status used by this autoscaler when calculating the desired replica count.",
188+
"kube_horizontalpodautoscaler_status_target_metric",
189+
"The current metric status used by this autoscaler when calculating the desired replica count.",
190190
metric.Gauge,
191191
"",
192192
wrapHPAFunc(func(a *autoscaling.HorizontalPodAutoscaler) *metric.Family {

0 commit comments

Comments
 (0)