From 047a393c212e990e6018d767f38bcdf8b2b72014 Mon Sep 17 00:00:00 2001 From: Andres Martinez Gotor Date: Thu, 5 Sep 2024 11:23:49 +0200 Subject: [PATCH] update comments --- backend/query_conversion.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/query_conversion.go b/backend/query_conversion.go index 98ee48307..500fc7bfc 100644 --- a/backend/query_conversion.go +++ b/backend/query_conversion.go @@ -13,12 +13,12 @@ type QueryConversionHandler interface { type ConvertQueryFunc func(context.Context, *QueryConversionRequest) (*QueryConversionResponse, error) -// ConvertObjects calls fn(ctx, req). +// ConvertQuery calls fn(ctx, req). func (fn ConvertQueryFunc) ConvertQuery(ctx context.Context, req *QueryConversionRequest) (*QueryConversionResponse, error) { return fn(ctx, req) } -// ConversionRequest supports converting an object from on version to another +// QueryConversionRequest supports converting a query from on version to another type QueryConversionRequest struct { // NOTE: this may not include app or datasource instance settings depending on the request PluginContext PluginContext `json:"pluginContext,omitempty"`