mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 20:22:32 +08:00
Plugins: Support headers field for check health (#49930)
This commit is contained in:

committed by
GitHub

parent
a91ecc566b
commit
a7813275a5
@ -318,6 +318,7 @@ func (hs *HTTPServer) CheckHealth(c *models.ReqContext) response.Response {
|
||||
|
||||
resp, err := hs.pluginClient.CheckHealth(c.Req.Context(), &backend.CheckHealthRequest{
|
||||
PluginContext: pCtx,
|
||||
Headers: map[string]string{},
|
||||
})
|
||||
if err != nil {
|
||||
return translatePluginRequestErrorToAPIError(err)
|
||||
|
Reference in New Issue
Block a user