chore: apply suggestions from code review

Co-authored-by: Filip Petkovski <filip.petkovsky@gmail.com>
This commit is contained in:
Tanguy Falconnet 2022-05-04 10:11:11 +02:00 committed by GitHub
parent 20084df76e
commit b09674c2d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -185,8 +185,8 @@ func hpaMetricFamilies(allowAnnotationsList, allowLabelsList []string) []generat
}),
),
*generator.NewFamilyGenerator(
"kube_horizontalpodautoscaler_status_current_metric",
"The metric current status used by this autoscaler when calculating the desired replica count.",
"kube_horizontalpodautoscaler_status_target_metric",
"The current metric status used by this autoscaler when calculating the desired replica count.",
metric.Gauge,
"",
wrapHPAFunc(func(a *autoscaling.HorizontalPodAutoscaler) *metric.Family {