From 1a731f0f4e8d0e03ae0f8a163a67fd961f956f04 Mon Sep 17 00:00:00 2001 From: Youn Jae Kim Date: Thu, 21 Nov 2024 10:53:36 -0800 Subject: [PATCH] Lint fix #2 --- pkg/scalers/azure/azure_app_insights.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/scalers/azure/azure_app_insights.go b/pkg/scalers/azure/azure_app_insights.go index 7ed8d8ceb3f..425f4eb5653 100644 --- a/pkg/scalers/azure/azure_app_insights.go +++ b/pkg/scalers/azure/azure_app_insights.go @@ -97,7 +97,6 @@ func queryParamsForAppInsightsRequest(info AppInsightsInfo) (map[string]interfac // GetAzureAppInsightsMetricValue returns the value of an Azure App Insights metric, rounded to the nearest int func GetAzureAppInsightsMetricValue(ctx context.Context, info AppInsightsInfo, podIdentity kedav1alpha1.AuthPodIdentity, ignoreNullValues bool) (float64, error) { - token, err := GetAzureADWorkloadIdentityToken(ctx, podIdentity.GetIdentityID(), podIdentity.GetIdentityTenantID(), "", info.AppInsightsResourceURL) if err != nil { return -1, err