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

Remove error for multi template variable in CW logs runner
This commit is contained in:
Shirley
2023-02-22 10:35:39 +01:00
committed by GitHub
parent 207a55be66
commit 3a57304ef0

View File

@@ -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[]) {