From 012c3dab9501b3588f61956b320108cd9241f7b9 Mon Sep 17 00:00:00 2001 From: Mike Spreitzer Date: Thu, 16 Apr 2020 21:56:32 -0400 Subject: [PATCH] Clarify comment on Watch::ResultChan() --- staging/src/k8s.io/apimachinery/pkg/watch/watch.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/src/k8s.io/apimachinery/pkg/watch/watch.go b/staging/src/k8s.io/apimachinery/pkg/watch/watch.go index 4a183d4b3e5..50eaac3369e 100644 --- a/staging/src/k8s.io/apimachinery/pkg/watch/watch.go +++ b/staging/src/k8s.io/apimachinery/pkg/watch/watch.go @@ -32,8 +32,8 @@ type Interface interface { Stop() // Returns a chan which will receive all the events. If an error occurs - // or Stop() is called, this channel will be closed, in which case the - // watch should be completely cleaned up. + // or Stop() is called, the implementation will close this channel and + // release any resources used by the watch. ResultChan() <-chan Event }