BackendPlugins: Point to request Headers in the wrapper (#27599)

In particular, so plugins can see the FromAlert header
This commit is contained in:
Kyle Brandt authored and GitHub committed 2020-09-16 10:12:39 -04:00
1 parent e6453198a9
commit 50c680f3d7
2 files changed
+2

No files matched your search

@@ -59,6 +59,7 @@ func (tw *DatasourcePluginWrapperV2) Query(ctx context.Context, ds *models.DataS
DataSourceInstanceSettings: backend.ToProto().DataSourceInstanceSettings(instanceSettings),
},
Queries: []*pluginv2.DataQuery{},
Headers: query.Headers,
}
for _, q := range query.Queries {