diff --git a/pipeline/backend/kubernetes/kubernetes.go b/pipeline/backend/kubernetes/kubernetes.go index ed6f19d06..b1f1a0447 100644 --- a/pipeline/backend/kubernetes/kubernetes.go +++ b/pipeline/backend/kubernetes/kubernetes.go @@ -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 {