Skip to content

Commit 012c3da

Browse files
committed
Clarify comment on Watch::ResultChan()
1 parent b9c370c commit 012c3da

File tree

1 file changed

+2
-2
lines changed
  • staging/src/k8s.io/apimachinery/pkg/watch

1 file changed

+2
-2
lines changed

staging/src/k8s.io/apimachinery/pkg/watch/watch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ type Interface interface {
3232
Stop()
3333

3434
// Returns a chan which will receive all the events. If an error occurs
35-
// or Stop() is called, this channel will be closed, in which case the
36-
// watch should be completely cleaned up.
35+
// or Stop() is called, the implementation will close this channel and
36+
// release any resources used by the watch.
3737
ResultChan() <-chan Event
3838
}
3939

0 commit comments

Comments
 (0)