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:]