Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmgot committed Sep 5, 2024
1 parent 4511493 commit 047a393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/query_conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 047a393

Please sign in to comment.