From 3a57304ef0a11e98818da4747284514f1bfc16b3 Mon Sep 17 00:00:00 2001 From: Shirley <4163034+fridgepoet@users.noreply.github.com> Date: Wed, 22 Feb 2023 10:35:39 +0100 Subject: [PATCH] CloudWatch: Remove error for multi-value variable in logs runner (#63522) Remove error for multi template variable in CW logs runner --- public/app/plugins/datasource/cloudwatch/utils/datalinks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/cloudwatch/utils/datalinks.ts b/public/app/plugins/datasource/cloudwatch/utils/datalinks.ts index 56d7c0abd3f..aa35d4b9c34 100644 --- a/public/app/plugins/datasource/cloudwatch/utils/datalinks.ts +++ b/public/app/plugins/datasource/cloudwatch/utils/datalinks.ts @@ -20,7 +20,7 @@ export async function addDataLinksToLogsResponse( getRegion: (region: string) => string, tracingDatasourceUid?: string ): Promise { - const replace = (target: string, fieldName?: string) => replaceFn(target, request.scopedVars, true, fieldName); + const replace = (target: string, fieldName?: string) => replaceFn(target, request.scopedVars, false, fieldName); const getVariableValue = (target: string) => getVariableValueFn(target, request.scopedVars); for (const dataFrame of response.data as DataFrame[]) {