Fix typo
This commit is contained in:
parent
154a13ecfc
commit
e86d23fdca
|
@ -90,8 +90,8 @@ func TestPodWatcherClose(t *testing.T) {
|
||||||
assert.Equal(t, "[foo] it worked\n", buf.String())
|
assert.Equal(t, "[foo] it worked\n", buf.String())
|
||||||
}
|
}
|
||||||
|
|
||||||
// makeReadCloserIterator returns a function which returns a function which
|
// makeReadCloserIterator returns a function which iterates through each
|
||||||
// iterates through each provided ReadCloser.
|
// provided ReadCloser.
|
||||||
func makeReadCloserIterator(rcs ...io.ReadCloser) func() io.ReadCloser {
|
func makeReadCloserIterator(rcs ...io.ReadCloser) func() io.ReadCloser {
|
||||||
return func() (rc io.ReadCloser) {
|
return func() (rc io.ReadCloser) {
|
||||||
rc, rcs = rcs[0], rcs[1:]
|
rc, rcs = rcs[0], rcs[1:]
|
||||||
|
|
Loading…
Reference in New Issue