From e86d23fdcaf53c7cdbdf7f2b90cebddeeea3882d Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Tue, 14 Jun 2022 07:44:55 +0200 Subject: [PATCH] Fix typo --- logs/pod_watcher_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logs/pod_watcher_test.go b/logs/pod_watcher_test.go index c4e09a7..bd67a75 100644 --- a/logs/pod_watcher_test.go +++ b/logs/pod_watcher_test.go @@ -90,8 +90,8 @@ func TestPodWatcherClose(t *testing.T) { assert.Equal(t, "[foo] it worked\n", buf.String()) } -// makeReadCloserIterator returns a function which returns a function which -// iterates through each provided ReadCloser. +// makeReadCloserIterator returns a function which iterates through each +// provided ReadCloser. func makeReadCloserIterator(rcs ...io.ReadCloser) func() io.ReadCloser { return func() (rc io.ReadCloser) { rc, rcs = rcs[0], rcs[1:]