Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions internal/tools/rtk_shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ return runShellRaw(command, timeoutSec)
}

timeout := time.Duration(timeoutSec) * time.Second
if timeout > 60*time.Second {
timeout = 60 * time.Second
}

// RTK wraps the command: rtk sh -c "command"
cmd := exec.Command("rtk", "sh", "-c", command)
Expand Down Expand Up @@ -58,9 +55,6 @@ return Result{Success: false, Output: "Command timed out", Error: "timeout"}

func runShellRaw(command string, timeoutSec int) Result {
timeout := time.Duration(timeoutSec) * time.Second
if timeout > 60*time.Second {
timeout = 60 * time.Second
}
cmd := exec.Command("sh", "-c", command)

done := make(chan error, 1)
Expand Down
Loading