This commit is contained in:
Rob Watson 2022-06-14 07:44:55 +02:00
parent 154a13ecfc
commit e86d23fdca
1 changed files with 2 additions and 2 deletions

View File

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