From 6f7220f50c6838ba932e5571735a6d5a7ee48f5d Mon Sep 17 00:00:00 2001 From: saikey0379 <316851126@qq.com> Date: Mon, 26 Sep 2022 10:44:50 +0800 Subject: [PATCH] GetCronMetricName --- pkg/utils/ehpa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils/ehpa.go b/pkg/utils/ehpa.go index 95c9cf013..7640c4cb7 100644 --- a/pkg/utils/ehpa.go +++ b/pkg/utils/ehpa.go @@ -47,7 +47,7 @@ func GetPredictionMetricName(sourceType autoscalingv2.MetricSourceType) (metricN } // GetCronMetricName return metric name used by cron -func GetCronMetricName() (metricName string) { +func GetCronMetricName() string { return known.MetricNameCron }