From e80c1ba9591b0a37f4eea4fa0ac55376e81788ec Mon Sep 17 00:00:00 2001 From: avoidalone Date: Mon, 11 Mar 2024 15:15:21 +0800 Subject: [PATCH] chore: remove repetitive word Signed-off-by: avoidalone --- cmd/flux/logs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/flux/logs.go b/cmd/flux/logs.go index 0931b1c919..602c85dd0c 100644 --- a/cmd/flux/logs.go +++ b/cmd/flux/logs.go @@ -235,7 +235,7 @@ func parallelPodLogs(ctx context.Context, requests []rest.ResponseWrapper) error return errors.Join(<-stdoutErrCh, <-stderrErrCh) } -// asyncCopy copies all data from from dst to src asynchronously and returns a channel for reading an error value. +// asyncCopy copies all data from dst to src asynchronously and returns a channel for reading an error value. // This is basically an asynchronous wrapper around `io.Copy`. The returned channel is unbuffered and always is sent // a value (either nil or the error from `io.Copy`) as soon as `io.Copy` returns. // This function lets you copy from multiple sources into multiple destinations in parallel.