mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(opentsdb): add context to opentsdb executor
This commit is contained in:
parent
8368a4a88a
commit
f4a834f84b
@ -1,6 +1,7 @@
|
|||||||
package opentsdb
|
package opentsdb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"context"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/grafana/grafana/pkg/log"
|
"github.com/grafana/grafana/pkg/log"
|
||||||
@ -25,6 +26,6 @@ func init() {
|
|||||||
tsdb.RegisterExecutor("opentsdb", NewOpenTsdbExecutorExecutor)
|
tsdb.RegisterExecutor("opentsdb", NewOpenTsdbExecutorExecutor)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e *OpenTsdbExecutor) Execute(queries tsdb.QuerySlice, queryContext *tsdb.QueryContext) *tsdb.BatchResult {
|
func (e *OpenTsdbExecutor) Execute(ctx context.Context, queries tsdb.QuerySlice, queryContext *tsdb.QueryContext) *tsdb.BatchResult {
|
||||||
panic("Missing implementation")
|
panic("Missing implementation")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user