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

@@ -169,7 +169,7 @@ func TestMetricQuery(t *testing.T) {
func registerFakeExecutor() *FakeExecutor {
executor, _ := NewFakeExecutor(nil)
RegisterExecutor("test", func(dsInfo *models.DataSource) (Executor, error) {
RegisterTsdbQueryEndpoint("test", func(dsInfo *models.DataSource) (TsdbQueryEndpoint, error) {
return executor, nil
})