Plugins: Fix streaming support (#74680)

Fix streaming support in backend
This commit is contained in:
Andre Pereira
2023-09-11 17:59:29 +03:00
committed by GitHub
parent 73a675af02
commit 485208c8e3
@@ -55,7 +55,7 @@ func ToGrafanaDTO(p *plugins.Plugin) Plugin {
supportsStreaming := false
pc, exists := p.Client()
if exists && pc != nil && pc.(backend.StreamHandler) != nil {
supportsStreaming = false
supportsStreaming = true
}
return Plugin{