From b58ca96881881b602822f24fd8ef8a28c724be7c Mon Sep 17 00:00:00 2001 From: Jorge Turrado Ferrero Date: Thu, 18 Jan 2024 13:32:48 +0100 Subject: [PATCH] chore: Add a comment for az pipelines magic string (#5396) --- pkg/scalers/azure_pipelines_scaler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/scalers/azure_pipelines_scaler.go b/pkg/scalers/azure_pipelines_scaler.go index a6711fb0fbd..8413642e68e 100644 --- a/pkg/scalers/azure_pipelines_scaler.go +++ b/pkg/scalers/azure_pipelines_scaler.go @@ -34,6 +34,8 @@ type JobRequests struct { } const ( + // "499b84ac-1321-427f-aa17-267ca6975798" is the azure id for DevOps resource + // https://learn.microsoft.com/en-gb/azure/devops/integrate/get-started/authentication/service-principal-managed-identity?view=azure-devops devopsResource = "499b84ac-1321-427f-aa17-267ca6975798/.default" )