Plugins: Fix streaming support (#74680)

Fix streaming support in backend
This commit is contained in:
Andre Pereira 2023-09-11 15:59:29 +01:00 committed by GitHub
parent 73a675af02
commit 485208c8e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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{