parseSupportingQueryType: add missing case for infinite scroll (#81492)

This commit is contained in:
Matias Chomicki 2024-01-29 17:12:03 +01:00 committed by GitHub
parent e3a648e107
commit 5486a111e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,6 +112,8 @@ func parseSupportingQueryType(jsonPointerValue *string) (SupportingQueryType, er
return SupportingQueryLogsSample, nil
case "dataSample":
return SupportingQueryDataSample, nil
case "infiniteScroll":
return SupportingQueryInfiniteScroll, nil
default:
return SupportingQueryNone, fmt.Errorf("invalid supportingQueryType: %s", jsonValue)
}