Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix
Browse files Browse the repository at this point in the history
louiseschmidtgen committed Dec 11, 2024

Verified

This commit was signed with the committer’s verified signature.
bonjourmauko Mauko Quiroga-Alvarado
1 parent 8eff9d8 commit 02355c1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkg/kine/server/watch.go
Original file line number Diff line number Diff line change
@@ -124,12 +124,7 @@ func (w *watcher) Start(ctx context.Context, r *etcdserverpb.WatchCreateRequest)

// Wait for events or progress notifications
select {
case events, ok := <-wr.Events:
if !ok {
// Channel was closed, break out of the loop
outer = false
break
}
case events = <-wr.Events:
// We received events; batch any additional queued events
reads++
inner := true

0 comments on commit 02355c1

Please sign in to comment.