[v9.4.x] CloudWatch: Remove error for multi-value variable in logs runner (#63546)

CloudWatch: Remove error for multi-value variable in logs runner (#63522)

Remove error for multi template variable in CW logs runner

(cherry picked from commit 3a57304ef0)

Co-authored-by: Shirley <4163034+fridgepoet@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2023-02-22 04:43:44 -05:00
committed by GitHub
co-authored by Shirley
parent 92ac380621
commit fcc6c7c486
@@ -20,7 +20,7 @@ export async function addDataLinksToLogsResponse(
getRegion: (region: string) => string,
tracingDatasourceUid?: string
): Promise<void> {
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[]) {