Skip to content

Commit

Permalink
Lint fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
aagusuab committed Nov 22, 2024
1 parent 2656fe1 commit 1a731f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/scalers/azure/azure_app_insights.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a731f0

Please sign in to comment.