Live: use latest changes in Go SDK to deal with streaming frames (#34668) (#34678)

(cherry picked from commit 063e1b5ff5)

Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2021-05-25 20:16:54 +02:00
committed by GitHub
co-authored by Alexander Emelin
parent ef05f687ca
commit e2b6820d42
15 changed files with 84 additions and 101 deletions
+3 -1
View File
@@ -95,7 +95,9 @@ func (r *PluginPathRunner) OnSubscribe(ctx context.Context, user *models.SignedI
reply := models.SubscribeReply{
Presence: true,
Data: resp.Data,
}
if resp.InitialData != nil {
reply.Data = resp.InitialData.Data()
}
return reply, backend.SubscribeStreamStatusOK, nil
}