Skip to content

Commit

Permalink
fix(exec): Fix output starting indented when log level is trace
Browse files Browse the repository at this point in the history
gabe565 committed Jan 22, 2024
1 parent 7c9726a commit 0033f52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/actions/exec/exec.go
Original file line number Diff line number Diff line change
@@ -32,10 +32,11 @@ func (action Exec) Run(ctx context.Context) error {
sizeQueue = t.MonitorSize(t.GetSize())
}

cmd := action.buildCommand().String()
return t.Safe(func() error {
return action.Client.Exec(ctx, kubernetes.ExecOptions{
Pod: action.JobPod,
Cmd: action.buildCommand().String(),
Cmd: cmd,
Stdin: t.In,
Stdout: t.Out,
Stderr: os.Stderr,

0 comments on commit 0033f52

Please sign in to comment.