Skip to content

Commit de4232d

Browse files
committed
Fix watch comment.
1 parent 12e938c commit de4232d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/internal/controller/controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ func (c *Controller[request]) startEventSourcesAndQueueLocked(ctx context.Contex
379379
// which won't be garbage collected if we hold a reference to it.
380380
c.startWatches = nil
381381

382-
// Mark event sources as started after resetting the startWatches slice to no-op a Watch()
383-
// call after event sources have been started.
382+
// Mark event sources as started after resetting the startWatches slice so that watches from
383+
// a new Watch() call are immediately started.
384384
c.startedEventSourcesAndQueue = true
385385
})
386386

0 commit comments

Comments
 (0)