Skip to content

Commit

Permalink
fix error="io: read/write on closed pipe" on k8s backend (#4281)
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-s authored Nov 8, 2024
1 parent 349f66c commit b5915f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pipeline/backend/kubernetes/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b5915f6

Please sign in to comment.