mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-03 14:18:42 +00:00
fix error="io: read/write on closed pipe"
on k8s backend (#4281)
This commit is contained in:
parent
349f66ca6d
commit
b5915f605b
1 changed files with 0 additions and 1 deletions
|
@ -381,7 +381,6 @@ func (e *kube) TailStep(ctx context.Context, step *types.Step, taskUUID string)
|
||||||
go func() {
|
go func() {
|
||||||
defer logs.Close()
|
defer logs.Close()
|
||||||
defer wc.Close()
|
defer wc.Close()
|
||||||
defer rc.Close()
|
|
||||||
|
|
||||||
_, err = io.Copy(wc, logs)
|
_, err = io.Copy(wc, logs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue