1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-23 17:53:23 +02:00

fix error="io: read/write on closed pipe" on k8s backend (#4281)

This commit is contained in:
Patrick Schratz 2024-11-08 11:00:03 +01:00 committed by GitHub
parent 349f66ca6d
commit b5915f605b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -381,7 +381,6 @@ func (e *kube) TailStep(ctx context.Context, step *types.Step, taskUUID string)
go func() {
defer logs.Close()
defer wc.Close()
defer rc.Close()
_, err = io.Copy(wc, logs)
if err != nil {