Skip to content

Commit

Permalink
refactor: stream to os out, but utilise accordions for tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Sep 29, 2023
1 parent f6b5cd5 commit a9ac0f5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/lagoon/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"errors"
"fmt"
"io/ioutil"
"os"
"strconv"
"time"

Expand Down Expand Up @@ -266,9 +265,7 @@ func ExecTaskInPod(
}

err = exec.Stream(remotecommand.StreamOptions{
Stdout: os.Stdout,
Stderr: os.Stderr,
Tty: tty,
Tty: tty,
})
if err != nil {
return fmt.Errorf("Error returned: %v", err)
Expand Down

0 comments on commit a9ac0f5

Please sign in to comment.