Adds Table in backend datasource contract.

This commit is contained in:
Leonard Gram
2018-01-11 17:29:25 +01:00
parent 9e942f1a6d
commit b63c834a4b
5 changed files with 357 additions and 54 deletions

View File

@ -111,7 +111,7 @@ func (p *DataSourcePlugin) spawnSubProcess() error {
plugin := raw.(shared.TsdbPlugin)
tsdb.RegisterTsdbQueryEndpoint(p.Id, func(dsInfo *models.DataSource) (tsdb.TsdbQueryEndpoint, error) {
return &shared.DatasourcePluginWrapper{TsdbPlugin: plugin}, nil
return shared.NewDatasourcePluginWrapper(p.log, plugin), nil
})
return nil