mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 19:54:10 -06:00
parseSupportingQueryType: add missing case for infinite scroll (#81492)
This commit is contained in:
parent
e3a648e107
commit
5486a111e6
@ -112,6 +112,8 @@ func parseSupportingQueryType(jsonPointerValue *string) (SupportingQueryType, er
|
|||||||
return SupportingQueryLogsSample, nil
|
return SupportingQueryLogsSample, nil
|
||||||
case "dataSample":
|
case "dataSample":
|
||||||
return SupportingQueryDataSample, nil
|
return SupportingQueryDataSample, nil
|
||||||
|
case "infiniteScroll":
|
||||||
|
return SupportingQueryInfiniteScroll, nil
|
||||||
default:
|
default:
|
||||||
return SupportingQueryNone, fmt.Errorf("invalid supportingQueryType: %s", jsonValue)
|
return SupportingQueryNone, fmt.Errorf("invalid supportingQueryType: %s", jsonValue)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user