rename executor into tsdbqueryendpoint

This commit is contained in:
bergquist
2017-09-21 10:44:25 +02:00
parent 0229d28d64
commit 7f9f388293
11 changed files with 58 additions and 58 deletions

View File

@@ -20,7 +20,7 @@ func NewFakeExecutor(dsInfo *models.DataSource) (*FakeExecutor, error) {
}, nil
}
func (e *FakeExecutor) Execute(ctx context.Context, context *TsdbQuery) *BatchResult {
func (e *FakeExecutor) Query(ctx context.Context, context *TsdbQuery) *BatchResult {
result := &BatchResult{QueryResults: make(map[string]*QueryResult)}
for _, query := range context.Queries {
if results, has := e.results[query.RefId]; has {