mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
parent
207a55be66
commit
3a57304ef0
@ -20,7 +20,7 @@ export async function addDataLinksToLogsResponse(
|
|||||||
getRegion: (region: string) => string,
|
getRegion: (region: string) => string,
|
||||||
tracingDatasourceUid?: string
|
tracingDatasourceUid?: string
|
||||||
): Promise<void> {
|
): 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);
|
const getVariableValue = (target: string) => getVariableValueFn(target, request.scopedVars);
|
||||||
|
|
||||||
for (const dataFrame of response.data as DataFrame[]) {
|
for (const dataFrame of response.data as DataFrame[]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user