Skip to content

Commit 44fe5df

Browse files
gandromichi-covalent
authored andcommitted
Amend 3cc0cea
Somehow I lost a part of this commit. Signed-off-by: Sebastian Wicki <[email protected]> Signed-off-by: Michi Mutsuzaki <[email protected]>
1 parent 1c25780 commit 44fe5df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/server/local_observer.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ func (s *LocalObserverServer) GetFlows(
240240
}
241241

242242
func getFlows(
243+
ctx context.Context,
243244
req *observer.GetFlowsRequest,
244245
server observer.Observer_GetFlowsServer,
245246
obs GRPCServer,
@@ -273,7 +274,7 @@ func getFlows(
273274
}
274275

275276
for ; ; i++ {
276-
flow, err := flowsReader.Next(server.Context())
277+
flow, err := flowsReader.Next(ctx)
277278
if err != nil {
278279
if err == io.EOF {
279280
return nil

0 commit comments

Comments
 (0)