Skip to content

Commit

Permalink
Remove redundant StdOut and StdError for cmd (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnuchalla authored Oct 26, 2024
1 parent 3b66c41 commit e68b61a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/workerscale/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ func runRosaWithLogin(args ...string) ([]byte, error) {
fullCommand := fmt.Sprintf("%s && %s", loginCommand, mainCommand)

cmd := exec.Command("bash", "-c", fullCommand)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
cmd.Env = os.Environ()

output, err := cmd.CombinedOutput()
Expand Down

0 comments on commit e68b61a

Please sign in to comment.