UseRunStream is a default behaviour (#34021)

This commit is contained in:
Alexander Emelin
2021-05-12 22:17:31 +03:00
committed by GitHub
parent 64f31a8d6f
commit a14ae53347
4 changed files with 17 additions and 19 deletions
+2 -3
View File
@@ -38,9 +38,8 @@ func (p *testStreamHandler) SubscribeStream(_ context.Context, req *backend.Subs
}
p.logger.Debug("Allowing access to stream", "path", req.Path, "user", req.PluginContext.User)
return &backend.SubscribeStreamResponse{
Status: backend.SubscribeStreamStatusOK,
Data: schema,
UseRunStream: true,
Status: backend.SubscribeStreamStatusOK,
Data: schema,
}, nil
}