Skip to content

Commit 28530c7

Browse files
committed
chipingress: enable StreamEvents method
1 parent c49f538 commit 28530c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/chipingress/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ func (c *client) PublishBatch(ctx context.Context, in *CloudEventBatch, opts ...
102102
}
103103

104104
// StreamEvents - Experimental, this API is subject to change.
105-
func (c *client) StreamEvents(_ context.Context, _ ...grpc.CallOption) (grpc.BidiStreamingClient[StreamEventsRequest, StreamEventsResponse], error) {
106-
return nil, fmt.Errorf("not implemented: StreamEvents is experimental and not supported yet")
105+
func (c *client) StreamEvents(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[StreamEventsRequest, StreamEventsResponse], error) {
106+
return c.client.StreamEvents(ctx, opts...)
107107
}
108108

109109
func (c *client) Close() error {

0 commit comments

Comments
 (0)