mirror of
https://codeberg.org/crowci/crow.git
synced 2025-08-09 07:42:52 +03:00
fix error="io: read/write on closed pipe"
on k8s backend (#4281)
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user